[R] How do I Convert "<1" to the number 1?

Tom La Bone booboo at gforcecable.com
Wed Sep 24 17:08:21 CEST 2008

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

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.

More information about the R-help mailing list