Skip to content
Prev 300886 / 398503 Next

two questions re: the use of lattice (Q1 SOLVED, not Q2)

On 2012-07-22 18:03, Ranjan Maitra wrote:
Actually, it would work if you made strip.left a more accurate
copy of your strip function. But I hadn't taken a close enough
look at your strip function. I don't think it's needed at all.
Try this:

  p <- bwplot(Error ~ Method | sigma + INU, data = z,
        scales = list(rot=90), horiz = FALSE,
        layout = c(5,3), col = "red")

  useOuterStrips(p,
     strip = strip.custom(
          factor.levels = sigmaExpr),
     strip.left = strip.custom(
          factor.levels = INUExpr)
  )

BTW, you don't need the italic() on sigma - it does nothing in plotmath.

Peter Ehlers