I am reading numeric data as below but the problem is the object
 ndata1 and nd1 have characters instead of numeric values. I want to
 keep it as numeric. Why the type has changed from numeric to
 character and how to avoid this problem?

help(as.numeric)

Your variable rdata1 has probably character-type.

s.

______________________________________________
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