Re: [R] plot a list of trellis objects

2014-02-18 Thread Duncan Mackay
-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Santosh Sent: Wednesday, 19 February 2014 06:12 Cc: r-help Subject: Re: [R] plot a list of trellis objects I forgot to add.. printltrellis seems to take in only one trellis object at a time.. so.. I think I would need to use a loop for varying

Re: [R] plot a list of trellis objects

2014-02-18 Thread Frede Aakmann Tøgersen
om/legal/notice If you have received this e-mail in error please contact the sender. > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Santosh > Sent: 18. februar 2014 22:23 > To: r-help > Subject: Re: [R] plot

Re: [R] plot a list of trellis objects

2014-02-18 Thread Santosh
fr...@vestas.com > > http://www.vestas.com > > > > Company reg. name: Vestas Wind Systems A/S > > This e-mail is subject to our e-mail disclaimer statement. > > Please refer to www.vestas.com/legal/notice > > If you have received this e-mail in error please contact

Re: [R] plot a list of trellis objects

2014-02-18 Thread Frede Aakmann Tøgersen
21:55 > To: 'arun' > Subject: RE: [R] plot a list of trellis objects > > So are you saying that the coder of do.call do not know the difference > between _list_ and _c_?? > > Yours sincerely / Med venlig hilsen > > > Frede Aakmann Tøgersen > Specialist,

Re: [R] plot a list of trellis objects

2014-02-18 Thread Frede Aakmann Tøgersen
ems A/S This e-mail is subject to our e-mail disclaimer statement. Please refer to www.vestas.com/legal/notice If you have received this e-mail in error please contact the sender. > -----Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Beh

Re: [R] plot a list of trellis objects

2014-02-18 Thread Frede Aakmann Tøgersen
sclaimer statement. Please refer to www.vestas.com/legal/notice<http://www.vestas.com/legal/notice> If you have received this e-mail in error please contact the sender. From: Santosh [mailto:santosh2...@gmail.com] Sent: 18. februar 2014 20:59 To: Frede Aakmann Tøgersen Cc: r-help Subject: Re: [R]

Re: [R] plot a list of trellis objects

2014-02-18 Thread Santosh
I forgot to add.. printltrellis seems to take in only one trellis object at a time.. so.. I think I would need to use a loop for varying the column/row indices, etc... Is that the only way (other than grid.arrange)? Is column/row/page control possible through grid.arrange..? On Tue, Feb 18, 2014

Re: [R] plot a list of trellis objects

2014-02-18 Thread Santosh
Thanks for the suggestion.. Is there a way I can include arguments to the *grid.arrange* function? I tried in your example something like... gridar <- function(x,ncol=2,...) grid.arrange(x,...) do.call(gridar, lattice.plots); I could not make it work when I try to control number of columns/rows a

Re: [R] plot a list of trellis objects

2014-02-18 Thread Santosh
Thanks for all your suggestions.. santosh On Tue, Feb 18, 2014 at 4:11 AM, Duncan Mackay wrote: > Hi Santosh > > for more control on size and position > > ?lattice::print.trellis > > Duncan > > Duncan Mackay > Department of Agronomy and Soil Science > University of New England > Armidale NSW 23

Re: [R] plot a list of trellis objects

2014-02-18 Thread Duncan Mackay
Hi Santosh for more control on size and position ?lattice::print.trellis Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home: mac...@northnet.com.au -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-bo

Re: [R] plot a list of trellis objects

2014-02-17 Thread Frede Aakmann Tøgersen
How about lattice.plots <- list(xyplot(rnorm(10) ~ 1:10, type = "b"), xyplot(rnorm(10) ~ 1:10, type = "b"), xyplot(rnorm(10) ~ 1:10, type = "b"), xyplot(rnorm(10) ~ 1:10, type = "b")) do

Re: [R] plot a list of trellis objects

2014-02-17 Thread Jeff Newmiller
What in the world is so horrible about for loops? --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go... Live: O