Skip to content

change the panel name in xyplot

2 messages · Ronaldo Reis Junior, Henrique Dallazuanna

#
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
#
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: