Hello R helpers, I am producing a figure with dual strips, i.e., x~y | S1 + S2, where S1 and S2 are two strips. For example, in figure 2.1 at http://lmdvr.r-forge.r-project.org/figures/figures.html. In this case, I would like to combine the the top strip, since all three pictures in the same row have the same level based on the first strip. In other words, instead of | -- S11 -- | -- S11 -- | -- S11 -- | | -- S21 -- | -- S22 -- | -- S23 -- | I would like my graph to look like | ----------------- S11 ---------------- | | -- S21 -- | -- S22 -- | -- S23 -- | In there a way I can do it? Thanks! JD [[alternative HTML version deleted]]
Hello R helpers, I am producing a figure with dual strips, i.e., x~y | S1 + S2, where S1 and S2 are two strips. For example, in figure 2.1 at http://lmdvr.r-forge.r-project.org/figures/figures.html. In this case, I would like to combine the the top strip, since all three pictures in the same row have the same level based on the first strip. In other words, instead of | -- S11 -- | -- S11 -- | -- S11 -- | | -- S21 -- | -- S22 -- | -- S23 -- | I would like my graph to look like | ----------------- S11 ---------------- | | -- S21 -- | -- S22 -- | -- S23 -- | In there a way I can do it? Thanks! JD [[alternative HTML version deleted]]
Hi, Not exactly answering your question, but latticeExtra provides a function useOuterStrips that you could use to have a single S11 strip on the left instead. HTH, baptiste 2009/9/20 di jianing <jianingdi at gmail.com>:> Hello R helpers, > > I am producing a figure with dual strips, i.e., x~y | S1 + S2, where S1 and > S2 are two strips. For example, in figure 2.1 at > http://lmdvr.r-forge.r-project.org/figures/figures.html. > > In this case, I would like to combine the the top strip, since all three > pictures in the same row have the same level based on the first strip. In > other words, instead of > > | -- S11 -- | -- S11 -- | -- S11 -- | > | -- S21 -- | -- S22 -- | -- S23 -- | > > I would like my graph to look like > > | ----------------- S11 ---------------- | > | -- S21 -- | -- S22 -- | -- S23 -- | > > In there a way I can do it? > > Thanks! > JD > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > 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. >
On Sat, Sep 19, 2009 at 3:36 PM, di jianing <jianingdi at gmail.com> wrote:> Hello R helpers, > > I am producing a figure with dual strips, i.e., x~y | S1 + S2, where S1 and > S2 are two strips. For example, in figure 2.1 at > http://lmdvr.r-forge.r-project.org/figures/figures.html. > > In this case, I would like to combine the the top strip, since all three > pictures in the same row have the same level based on the first strip. In > other words, instead of > > | -- S11 -- | -- S11 -- | -- S11 -- | > | -- S21 -- | -- S22 -- | -- S23 -- | > > I would like my graph to look like > > | ----------------- S11 ---------------- | > | -- S21 -- | -- S22 -- | -- S23 -- | > > In there a way I can do it?No (or at least, way too complicated). The strip function gets called for each panel, and there is no provision to combine strips across panels. As Baptiste suggested, useOuterStrips() is probably an easier alternative. -Deepayan> > Thanks! > JD > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > 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. >