Re: [R] lattice: layout and number of pages

2010-09-09 Thread Deepayan Sarkar
On Wed, Sep 8, 2010 at 5:49 AM, Philipp Pagel p.pa...@wzw.tum.de wrote:

        Dear expeRts,

 ?xyplot says: In general, giving a high value of ‘layout[3]’ is not
 wasteful because blank pages are never created.

 But the following example does generate blank pages - well except for
 the ylab:

 data(barley)
 require(lattice)
 stripplot(yield~year|site, barley, layout=c(2,1,5))

 Did I misinterpret the sentence from the help page or is this a bug?

The statement used to be true at some point. Unfortunately it no
longer seems possible to (easily) determine with 100% accuracy whether
a page will be blank. I will remove that sentence from the
documentation, but add a warning when lattice detects likely blank
pages.

-Deepayan

 Yes - I know that his works fine:

 stripplot(yield~year|site, barley, layout=c(2,1))

 Just curious...

 cu
        Philipp

 --
 Dr. Philipp Pagel
 Lehrstuhl für Genomorientierte Bioinformatik
 Technische Universität München
 Wissenschaftszentrum Weihenstephan
 Maximus-von-Imhof-Forum 3
 85354 Freising, Germany
 http://webclu.bio.wzw.tum.de/~pagel/

 __
 R-help@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.


__
R-help@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.


[R] lattice: layout and number of pages

2010-09-08 Thread Philipp Pagel

Dear expeRts,

?xyplot says: In general, giving a high value of ‘layout[3]’ is not
wasteful because blank pages are never created.

But the following example does generate blank pages - well except for
the ylab:

data(barley)
require(lattice)
stripplot(yield~year|site, barley, layout=c(2,1,5))

Did I misinterpret the sentence from the help page or is this a bug?
Yes - I know that his works fine:

stripplot(yield~year|site, barley, layout=c(2,1))

Just curious...

cu
Philipp

-- 
Dr. Philipp Pagel
Lehrstuhl für Genomorientierte Bioinformatik
Technische Universität München
Wissenschaftszentrum Weihenstephan
Maximus-von-Imhof-Forum 3
85354 Freising, Germany
http://webclu.bio.wzw.tum.de/~pagel/

__
R-help@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.