Skip to content
Prev 247087 / 398506 Next

how to change strip text of effect plot

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