[R] change the panel name in xyplot

Henrique Dallazuanna wwwhsd at gmail.com
Mon Sep 22 21:49:49 CEST 2008


Try this:

xyplot(Murder ~ Population | state.region,
       data = states,
       strip = strip.custom(factor.levels = c(expression(italic(A)),
"B",  "C",  "D")))

On Mon, Sep 22, 2008 at 4:33 PM, Ronaldo Reis Junior <chrysopa at gmail.com> wrote:
> Hi,
>
> I try to change the panel name in a xyplot without success.
>
> Look this example from xyplot manual:
>
> xyplot(Murder ~ Population | state.region,data=states)
>
> The panel title are:
> Northeast, South, North Central, West, that are factor from state.region.
>
> I need do change some names and, for example, put some of these in italic. I
> dont find how change this.
>
> I looking for this in Deepayan Sakar lattice book, but I dont find the way.
>
> Any help?
>
> Thanks
> Ronaldo
> --
> "You can't make a program without broken egos."
> --
>> Prof. Ronaldo Reis Júnior
> |  .''`. UNIMONTES/DBG/Lab. Ecologia Comportamental e Computacional
> | : :'  : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia
> | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil
> |   `- Fone: (38) 3229-8192 | ronaldo.reis at unimontes.br | chrysopa at gmail.com
> | http://www.ppgcb.unimontes.br/lecc | ICQ#: 5692561 | LinuxUser#: 205366
> --
> Favor NÃO ENVIAR arquivos do Word ou Powerpoint
> Prefira enviar em PDF, Texto, OpenOffice (ODF), HTML, or RTF.
>
> ______________________________________________
> 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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O



More information about the R-help mailing list