[R] Syntax for lattice scales argument with |a*b

Bert Gunter gunter.berton at gene.com
Mon May 30 18:06:47 CEST 2011


Frank:

1. Note that x and y scales can be specified separately by scales =
list(x = list(...), y = list(...))

2. For at, labels, etc. ?xyplot says:
"    The location of tick marks along the axis (in native
coordinates), ** or a list as long as the number of panels describing
tick locations for each panel. " **  Did this not work?

3. It is not clear that lims can also be a list as above, but try it
(separately for x and y, perhaps).

If this does not answer your question, then perhaps an example of the
code you want to write and what you'd like it to do would help
clarify.

-- Bert

On Mon, May 30, 2011 at 8:18 AM, Frank Harrell <f.harrell at vanderbilt.edu> wrote:
> I have not been able to figure out the format for specifying limits, at,
> labels in scales <- list(relation='free', limits=..., at=..., labels=...)
> when there is more than one paneling variable, e.g., xyplot(y ~ x | a*b).
> Thanks for any guidance.
>
> Frank
>
>
> -----
> Frank Harrell
> Department of Biostatistics, Vanderbilt University
> --
> View this message in context: http://r.789695.n4.nabble.com/Syntax-for-lattice-scales-argument-with-a-b-tp3560973p3560973.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>



-- 
"Men by nature long to get on to the ultimate truths, and will often
be impatient with elementary studies or fight shy of them. If it were
possible to reach the ultimate truths without the elementary studies
usually prefixed to them, these would not be preparatory studies but
superfluous diversions."

-- Maimonides (1135-1204)

Bert Gunter
Genentech Nonclinical Biostatistics



More information about the R-help mailing list