I have the following:

>a #note that the 28 is a row.name

        GHP     GP      T     Tn
28   2.2194 2.6561 2.9007 3.2988

>min(as.numeric(a))
2.9007
>min(as.numeric(as.character(a)))
2.9007
>as.numeric(as.character(a))                 #What's going on here???
[1] 33.0000 29.0000  2.9007  3.2988

So basically how do I get this to show the correct value of 2.21 as my
minimum value?

Thanks,
Sachin

______________________________________________
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