[R] Colors according to value (Excel-Export)

Mat matthias.weber at fnt.de
Fri Dec 7 08:11:30 CET 2012


here is one:
i have this in my excel sheet
                                               PT_IST
Projekt A                                 1,1
Projekt B                                1,15
Projekt C                                 1,2

Difference				1,15

This number is generated from the data above and is ok.
The Excel sheet was generated every day. And the numbers can change from day
to day.
I know how to color the whole row, but i don't know how to color the number
"Difference --> 1,15" according to her value, like: if>1,2 <- RED, if <1,2
<- GREEN

Thanks. 

Mat




--
View this message in context: http://r.789695.n4.nabble.com/Colors-according-to-value-Excel-Export-tp4652331p4652458.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list