bwplot(): Can Panel Heading Span Two Lines? [RESOLVED]
In addition, try this:
x <- rep(1:10,2); y <- runif(20);f<-factor(rep(paste("This
is\nLevel",1:2),e=10))
xyplot(y~x|f,
par.strip.text=list(lineheight=.8,lines=3))
I find the documentation here confusing and incomplete:
"par.strip.text" is listed as a parameter both in ?xyplot and
?strip.custom. The arguments are apparently different in the two
cases, although they are not clearly spelled out in either, although I
would guess that the default setting in ?strip.default, "add.text,"
may explain strip.default's. Note that the "lines" component is
missing, for strip.custom() but apparently works in xtplot().
Cheers,
Bert
On Mon, Sep 10, 2012 at 1:33 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
On Mon, 10 Sep 2012, David Winsemius wrote:
The text that appears in the "panel header" is called the "strip". I didn't see it in the help page for bwplot. You need to look at:
David, That explains why I did not find it in the book's index.
?strip.custom. And since you have the Lattice book look at section 10.7 'Controlling the appearance of strips"
Thanks very much! Rich
______________________________________________ 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.
Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm