tests/c.trellis.R

library(latticeExtra)

p <- xyplot(demand ~ Time, BOD, type = "h")
c(A = p, B = p, layout = c(1, 2), x.same = TRUE) # works
c(A = p, layout = c(1, 1), x.same = TRUE) # A should show

Try the latticeExtra package in your browser

Any scripts or data that you put into this service are public.

latticeExtra documentation built on July 4, 2022, 5:05 p.m.