[R] Replacing lists with NA
lg35
drlouisgrandjean at hotmail.com
Tue Jan 31 17:29:45 CET 2012
I think I sorted it myself (sorry).
Whether this is the best way I dont know but it seemed to work. I changed
the table to a matrix using the as.matrix command. Then used the as.numeric
command on the matrix to change the lists to NA. Then I had to change the
numeric matrix back to a matrix of the correct dimensions using the matrix
command. Thanks
--
View this message in context: http://r.789695.n4.nabble.com/Replacing-lists-with-NA-tp4344941p4345005.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list