On Wed, 10 Nov 2021, Richard M. Heiberger wrote:

I don't understand your question. It looks like the example in
?lattice::panel.bwplot does exactly what you want (modulo using ggplot
instead of lattice). Therefore it looks like creating a single column of y
from the y in each data.frame, and also a single column of x from the x in
each data.frame should be enough.

Here is an even simpler example

y <- rnorm(20)
x <- rep(1:2, each=10)
library(lattice)
bwplot(x ~ y, horizontal=TRUE)

Richard,

I've used lattice in the past and am learning ggplot2 now.

Thanks for your lattice suggestion.

Rich

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to