On Feb 27, 2012, at 11:26 AM, Wendy wrote:
>0.05 is blue, anything <=0.05 and >0.01 is yellow, and
anything else is grey
No data structures offered, but this may be a useful example:
col= c(""grey", "yellow", blue")[findInterval(X, c(-.01, 0.01, 0.05,
1.1))]
--
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
______________________________________________
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.