[R] Only one strip with italic font.
Kenneth Roy Cabrera Torres
krcabrer at une.net.co
Sun Jun 26 20:33:11 CEST 2011
Hi R users:
How can I obtain an italic font only
for one of the two strips in a xyplot?
library(lattice)
t<-rep(seq(0,10,5),4)
logCFU<-c(2,2.5,3,4,4.5,1.5,2,2.5,3,3.4,2,2.5)
microorg<-factor(rep(c("E. coli","L. monocytogenes"),each=6))
tratam<-factor(rep(c("t1","t2"),6))
xyplot(logCFU~t|microorg+tratam,type="p",
strip=strip.custom(par.strip.text=list(fontface=c("italic","bold"))))
Thank you for your help.
Kenneth
More information about the R-help
mailing list