1

I am quite new to programming. Below is the image of code I have written for kNN imputation using VIM package. I do not know what I am doing wrong that on running I am getting error message subscript out of bound.

code

  • 1
    Please don't post code as image. And in your code, replace `ZONE` with `Zone` since the column is named `Zone`. – Martin Gal May 26 '20 at 19:55
  • replaced ZONE with Zone, still getting the same error message – Rahul Jeswani May 27 '20 at 07:16
  • Please take a look at [How to make a great reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) and [How to ask](https://stackoverflow.com/help/how-to-ask). – Martin Gal May 27 '20 at 08:11

0 Answers0