[R] Lattice axis list (when relation = "free")

Deepayan Sarkar deepayan.sarkar at gmail.com
Thu Apr 2 19:04:48 CEST 2009


On 4/2/09, In Hee Park <ipark at chemistry.ohio-state.edu> wrote:
> Thanks for your comment.  Beside axis location, I have another
>  question for you.
>
>  If I wanted to change the matrix column names shown on the lattice
>  plot, which argument should be used to handle it?  (I'd like to know
>  the overall lattice plot level scheme, for example, which argument
>  controls which part of lattice plot, something like that.)
>
>  Currently in my 7-column lattice plot, each panel name is "E1", "E2"
>  ..."E7'.  Now I'd like to add "-" (special character) in front of each
>  panel name like... "-E1", "-E2", etc.  Thanks again for your help.

There are several ways. One is to change the colnames() of your data
before calling dotplot(). Another is to use a custom strip function
(see ?strip.default).

-Deepayan




More information about the R-help mailing list