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