Hi all,
I have a df which a part of this is:
 
   TSTMax     :int 213 228 227 281
   TSTMin     :int 149 167 158 176 
   TSTMean    :Factor w/94 levels "100,2" , "104,3" , ...
I want to change the TSTMean into numeric but by using 
as.numeric(as.character(df$TSTMean)) I get too many NAs.
Is there a way to change TSTMean into numeric without those NAs?
I want TSTMean to be at the end like:
 
   TSTMean  :int 100.2 104.3 .....
 
Thanks for any help
Elahe

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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