See ?print.trellis, especially the "split" argument.
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu, Apr 2, 2020 at 2:23 PM Christopher W. Ryan wrote:
>
>
I would like to place two separate plots, one above the other, something
like this (MWE for illustration):
library(lattice)
data(iris)
layout(matrix(c(1,2), 2, 1, byrow = TRUE))
with(iris, (plot(Sepal.Length ~ Petal.Length)))
with(iris, (plot(Sepal.Length ~ Petal.Width)))
but with lattice, so one
2 matches
Mail list logo