[R] Italic fontfaces on specific labels.

Kenneth Roy Cabrera Torres krcabrer at une.net.co
Wed Jun 22 03:36:30 CEST 2011


Hi R users:

I want to have a italic font on the microorganism names,
but not on the other labels.

How can I do that?

library(lattice)
t<-rep(seq(0,20,5),2)
logCFU<-c(2,2.5,3,4,4.5,1.5,2,2.5,3,3.4)
microorg<-factor(rep(c("E. coli","L. monocytogenes"),each=5))
xyplot(logCFU~t|microorg,fontface="italic")

Thank you for your help.

Kenneth



More information about the R-help mailing list