[R] Calculate missing value using a correlation metric

2008-02-23 Thread hochoi
Could someone please let me know how can I calculate missing values using a correlation metric? I know that the knn function is used for calculating missing values using Euclidean distance. Thanks -- View this message in context: http://www.nabble.com/Calculate-missing-value-using-a-correlati

[R] re place column names

2008-02-22 Thread hochoi
Hi, When I tried to replace column names in a data set with label names read from a separated file, I got the following message: Error in `[.data.frame` (dataset, , classlabel): undefined columns selected I am new in R programming languague. Could someone please tell me what do I need to consid