Thanks again, Bert, for taking the time to respond to my questions.
It's doing exactly what I want now. I'm fairly new with lattice plots
but they do seem like a big step forward. I'll look for Deepayan's
book; thanks for the tip.
-Tim
On Tue, Jan 2015, 27 at 02:11:33PM -0800, Bert Gunter wrote
1. The trellis.par.get$superpose.line list controls the loess line
appearance, I believe (check this!)
2. To control the overall loess curve in the panel, call it without
the "..." arguments, e.g
panel.loess(x,y, col.line="darkblue")
You may have to modify argument lists appropriately if you wan
Thanks, Bert, for the reply. This is very helpful. I have to admit
I've read the docs for the panel and panel.groups arguments before and
gotten myself pretty confused. Your small example is very helpful.
One more question for the list...
Bert's panel.loess col='darkblue' argument is being ove
Learn to use custom panel functions to give you the flexibility and
features you require.
In this case, you want something like:
xyplot(LRU~PAR|C3C4, groups = species,
panel= function(x,y,...){ ## custom panel function to add an
overall loess line
panel.superpose(x,y,...)
Hello,
I have a dataset consisting of four variables: species (factor, five
levels), C3C4 (factor, two levels), and numeric variables PAR and LRU.
I wish to produce a scatter plot of PAR vs LRU where (1) each species
has a unique symbol and color (2) there is an overlaid loess line that
is calcula
5 matches
Mail list logo