Hi I have a dataset from biological data with forty samples whichh relate to four different treatments. Each sample has thousands of values but as usuual contains missing values I want to use knn to imput these missing values. I am doing tthis using knn.impute. Do I need to specify the various groups or can I just use the knn.impute command on the whole dataset together.
Also I am setting the maxp argument to the total number of values for each sample. Is this the correct thing to do? Thanks in advance ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.