Displaying 1 result from an estimated 1 matches for "khanmiss".
Did you mean:
khamis
2008 Oct 29
1
Help with impute.knn
ear all,
This is my first time using this listserv and I am seeking help from the
expert. OK, here is my question, I am trying to use impute.knn function
in impute library and when I tested the sample code, I got the error as
followingt:
Here is the sample code:
library(impute)
data(khanmiss)
khan.expr <- khanmiss[-1, -(1:2)]
## ## First example
## if(exists(".Random.seed")) rm(.Random.seed)
khan.imputed <- impute.knn(as.matrix(khan.expr))
## ## khan.imputed$data should now contain the imputed data matrix
x<-khan.imputed$data
Here are the results:
> library(imp...