[R] order of panels in xyplots

Deepayan Sarkar deepayan.sarkar at gmail.com
Fri Nov 27 12:57:21 CET 2009


On Thu, Nov 26, 2009 at 12:09 AM, Titus Malsburg <malsburg at gmail.com> wrote:
> The documentation of xyplot could be improved here.  It says:
>
>  "If 'index.cond' is a list, it has to be as long as the number of conditioning
>   variables, and the 'i'-th component has to be a valid indexing vector for the
>   integer vector '1:nlevels(g_i)' (which can, among other things, repeat some
>   of the levels or drop some altogether)."
>
> It should make explicit that nlevels is the number of levels actually
> used in the data and not length(levels(f)).

Actually, it should say that whether unused levels are counted depends
on the value of the 'drop.unused.levels' argument. I will update the
documentation.

-Deepayan




More information about the R-help mailing list