Thanks for the reply Richie.
Finally I tried the following,
> write.csv(mydata.imputed$data, file = "mydata_imputed.csv")
and it worked. I guess I need to refer to the data portion (using $) of the
imputed file.Do correct me if I am wrong, though!
--
Suhaila Zainudin
PhD Candidate
Universiti
> I am new to R. I am using the impute package with data contained in csv
> file.
> I have followed the example in the impute package as follows:
>
> > mydata = read.csv("sample_impute.csv", header = TRUE)
> > mydata.expr <- mydata[-1,-(1:2)]
> > mydata.imputed <- impute.knn(as.matrix(mydata.expr)
Dear all,
I am new to R. I am using the impute package with data contained in csv
file.
I have followed the example in the impute package as follows:
> mydata = read.csv("sample_impute.csv", header = TRUE)
> mydata.expr <- mydata[-1,-(1:2)]
> mydata.imputed <- impute.knn(as.matrix(mydata.expr))
3 matches
Mail list logo