Hello together,

i have a big problem, to convert a column in my data.frame to numeric.

I have:
61,13 in the column and write:
data$PT_DL<-as.numeric(as.character(data$PT_DL))

the result is NA, not a point seperated number.

How can i change the data to an as.numeric number?

Thank you for your help.

Mat



--
View this message in context: 
http://r.789695.n4.nabble.com/comma-as-a-seperator-to-numeric-tp4651090.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