[R] results of knn() command

Xavier.Abulker@fimat.com Xavier.Abulker at fimat.com
Thu Jun 13 17:48:44 CEST 2002

Hi all,

I'm using knn() to estimate the missing values of a matrix and I just want
to output the complete matrix resulting from this command.
For example

m is a matrix with missing values


I want m1 to be a matrix I can work with, that is to say I want to apply
mean(m), var(m)...but the format is changed.
How do I solve this problem?

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list