Is there an elegant way in R to change a number reported as a less-than
number in text format, "<1" for example, to the numeric equivalent 1? I have
been trying to use as.numeric, but have not come up with anything clever
yet.

Tom
 
-- 
View this message in context: 
http://www.nabble.com/How-do-I-Convert-%22%3C1%22-to-the-number-1--tp19651018p19651018.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