Skip to content
Prev 82172 / 398502 Next

Changing strip var.name value on lattice::xyplot

On 12/5/05, ernesto <ernesto at ipimar.pt> wrote:
'var.name' is for the name of the conditioning variable(s). For levels
of a factor, use 'factor.levels', e.g.

xyplot(rnorm(100)~1:100|factor(rep(c(1,2),50)),
     strip=strip.custom(factor.levels = c("M","F")))

-Deepayan