Create a custom strip function which changes the names
of the factor levels. Here we have changed them from 1:2
to c("b", "a").
my.strip <- function(..., factor.levels) {
factor.levels <- c("b", "a")
strip.default(..., factor.levels = factor.levels)
}
x <- 1:10
y <- x*x
z <- gl(2, 5)
xyplo
Dear list,
I'm plotting a lattice plot
xyplot(Volume ~ Weight | as.character(DateTime))
where DateTime is a POSIXlt object. This produces strip labels in
the format e.g. "2007-11-15 23:15:00" and panels are plotted in the
correct order. I'd prefer a format "15 Nov 23:15", but if I use
forma
2 matches
Mail list logo