[R] how to change strip text of effect plot
Wincent
ronggui.huang at gmail.com
Wed Jan 12 04:21:15 CET 2011
Dear r heper,
How can I change the strip text, for example (16,23] in the following
example, to other more informative text such as "high level" on the
fly?
library(effects)
Cowles$ex2 <- cut(Cowles$extraversion,3)
mod.cowles <- glm(volunteer ~ sex+neuroticism*ex2,data=Cowles, family=binomial)
eff.cowles <- allEffects(mod.cowles)
plot(eff.cowles, 'neuroticism:ex2',factor.names=F)
Thank you.
Ronggui
--
Wincent Ronggui HUANG (Ph.D.)
City University of Hong Kong
http://asrr.r-forge.r-project.org/rghuang.html
More information about the R-help
mailing list