[R] lattice panel layout like cross-tabs, like a 2 x 2 table.

Deepayan Sarkar deep@y@n@@@rk@r @end|ng |rom gm@||@com
Sat Aug 31 06:37:03 CEST 2024


You are thinking of latticeExtra::useOuterStrips.

Best,
-Deepayan

On Sat, 31 Aug 2024 at 02:53, Christopher W. Ryan via R-help <
r-help using r-project.org> wrote:

> Years ago, I recall creating lattice plots with two binary factors, call
> them f1 and f2, as in
>
> xyplot(y ~ x | f1 + f2, data = dd)
>
> and I made it so the rows had strips on the left with the levels of one
> factor, and the columns had strips on the top with the levels of the
> other factor.  Sort of like strip.left() but for just one of the factors.
>
> I can't remember or find how I did it, what options to set. Can anyone
> remind me?
>
> Thanks.
>
> --Chris Ryan
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list