Dear All,

I'm new to R and my problem is this:

I'm reading a table which has list objects such as this:

   col1   col2   col3     col4
     1       3        5        4,5        
     2      2,3      6         5        

NumericTable <- as.numeric(Table) 

This command doesn't work as it can't coerce lists to NA

What can I do to replace the lists with NA

Best wishes

lg35

--
View this message in context: 
http://r.789695.n4.nabble.com/Replacing-lists-with-NA-tp4344941p4344941.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to