Displaying 1 result from an estimated 1 matches for "numetrix".
2010 Feb 20
1
coerce (list) object to type 'double'
Dear all,
I am really new to R, and I have problem here. I searched around, but did
not get a solution.
I have a numetrix matrix (20 by 25) saved in .csv. I read it as
>sx<-read.csv("sx.csv",header=F)
Then I try to convert it to numeric using
>sx<-as.numeric(sx)
Error: (list) object cannot be coerced to type 'double'
The class of sx is "data.frame".
I tried to unlist it as,...