tune the parameter k of the knn algorithm used in imputation.
tune.knn.impute.Rdtune the parameter k of the knn algorithm used in imputation.
Usage
tune.knn.impute(
data,
cat.var = 1:ncol(data),
k.min = 1,
k.max = 20,
frac.miss = 0.1,
n.iter = 20,
seed = 0
)