Re: [R] [FORGED] Extracting specified pages from a lattice ("trellis") object.

2018-04-27 Thread Duncan Mackay
p@r-project.org; deepayan.sar...@r-project.org Subject: Re: [R] [FORGED] Extracting specified pages from a lattice ("trellis") object. Hi Does this not do what you want ... ? allpages <- dotplot(variety ~ yield | year * site, data=barley, layout=c(2,2)) page2 <

Re: [R] [FORGED] Extracting specified pages from a lattice ("trellis") object.

2018-04-26 Thread Paul Murrell
Hi Does this not do what you want ... ? allpages <- dotplot(variety ~ yield | year * site, data=barley, layout=c(2,2)) page2 <- allpages[1:2, 3:4] print(page2) Paul On 24/04/18 17:51, Rolf Turner wrote: On 24/04/18 15:17, Paul Murrell wrote: Hi I think the subsetting

Re: [R] [FORGED] Extracting specified pages from a lattice ("trellis") object.

2018-04-24 Thread Duncan Mackay
ge- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Rolf Turner Sent: Tuesday, 24 April 2018 15:52 To: Paul Murrell Cc: r-help@r-project.org; deepayan.sar...@r-project.org Subject: Re: [R] [FORGED] Extracting specified pages from a lattice ("trellis") object. On 2

Re: [R] [FORGED] Extracting specified pages from a lattice ("trellis") object.

2018-04-23 Thread Rolf Turner
On 24/04/18 15:17, Paul Murrell wrote: Hi I think the subsetting works by giving you the panels for the corresponding levels of the conditioning variable(s).  Note that, if there is more than one conditioning variable, you will need more than one subsetting index. For example, taking

Re: [R] [FORGED] Extracting specified pages from a lattice ("trellis") object.

2018-04-23 Thread Paul Murrell
Hi I think the subsetting works by giving you the panels for the corresponding levels of the conditioning variable(s). Note that, if there is more than one conditioning variable, you will need more than one subsetting index. For example, taking this plot with two conditioning variables and