Michael Kirschbaum wrote:

how can I convert the vector

a<-c("0,01","1,00")
in a vector b<-c(0.01,1.00)

What is your decimal delimiter ? '.' or ',' ?
If it is ',' you should change it into '.' and then as.numeric() works just fine.
If it is '.' it won't work.


HTH,
Laurent

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to