Yes, event was coded as an integer. As I said, always something simple. I'm learning.
By the way, I cited lattice in my recent paper in Applied Geochemistry. Thank you for your work. On Sep 7, 2010 1:32am, "Deepayan Sarkar [via R]" <ml-node+2529337-897621538-57...@n4.nabble.com> wrote: > On Thu, Sep 2, 2010 at 1:28 AM, jrflanders [hidden email]> wrote: > > > > Thank you! It is always so simple... > > > > May I throw another question at you? In useOuterStrips, in the > latticeExtra > > package, I am having problems calling custom strip names, eg > > > > useOuterStrips(xyplot(yx | LOCATION + EVENT, data = TC6, groups = TYPE), > > strip=strip.custom(factor. > > levels = c("Left", "Middle", "Right 1","Right 2"), bg="snow3"), > > strip.left=strip.custom(factor.levels = c("October 2009", "April 2010", > > "June 2010"),bg="snow2") > > > > Strip names should be location and strip.left should be event. For some > > reason the factor.levels labels just aren't printing. It just > says "EVENT." > > strip works just fine. > Maybe you need > xyplot(yx | LOCATION + factor(EVENT), ... > ? Without the factor(), EVENT could be a shingle (it's hard to be sure > without a reproducible example). > -Deepayan > ______________________________________________ > [hidden email] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > View message @ > http://r.789695.n4.nabble.com/xyplot-Lattice-Group-order-in-display-tp2403483p2529337.html > To unsubscribe from xyplot (Lattice): Group order in display, click here. -- View this message in context: http://r.789695.n4.nabble.com/xyplot-Lattice-Group-order-in-display-tp2403483p2529876.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.