Skip to content
Back to formatted view

Raw Message

Message-ID: <AANLkTinwKQyg2b0Br_2D_-UaY+Rw82R1-YcMsNEU-aQ=@mail.gmail.com>
Date: 2011-01-12T03:21:15Z
From: ronggui
Subject: 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


-- 
Wincent Ronggui HUANG (Ph.D.)
City University of Hong Kong
http://asrr.r-forge.r-project.org/rghuang.html