Skip to content

trellis plot question

4 messages · Suzette Blanchard, Douglas Bates, PIKAL Petr

#
Greetings,

Does anyone know how to get an id number in the little header 
above each individual plot within a trellis plot?  The default
seems to be to print the word id and add a line indicating on
a linear scale where the current id sits.

Thanks in advance for any help you can send,

Suzette


=================================
Suzette Blanchard, Ph.D.
Research Scientist
Frontier Science Foundation
1244 Boylston St. Suite 303
Chestnut Hill, MA 02467
Email:  suzette at sdac.harvard.edu
Phone:  (617) 632-2007
Fax:    (617) 632-2001
#
Suzette Blanchard <suzette at sdac.harvard.edu> writes:
See the description of the strip argument in ?xyplot and the
documentation for strip.default.  There are currently 6 different
styles available or you can add your own.
#
Hi

You probably use numeric id variable. 
I think you need to make an id variable to become a factor. 

e.g. use 

as.factor(id) 

Cheers
Petr
On 24 Jul 2003 at 10:39, Suzette Blanchard wrote:

            
Petr Pikal
petr.pikal at precheza.cz
p.pik at volny.cz
#
Yes, that solved the problem.
Thank you,
Suzette
On Fri, 25 Jul 2003, Petr Pikal wrote:

            
=================================
Suzette Blanchard, Ph.D.
Research Scientist
Frontier Science Foundation
1244 Boylston St. Suite 303
Chestnut Hill, MA 02467
Email:  suzette at sdac.harvard.edu
Phone:  (617) 632-2007
Fax:    (617) 632-2001