knnImputation code example
Example: knnImputation in r
library(DMwR)
knnImputation(data, k = 10, scale = T, meth = "weighAvg", distData = NULL)
library(DMwR)
knnImputation(data, k = 10, scale = T, meth = "weighAvg", distData = NULL)