Hello,
I am using the xyplot() function to create a series of scatterplot
panels with lines of best fit. To draw the lines of best fit for each
panel, I am using a panel function. Here's an example:
species - as.character(c(rep(list(A, B, A), 10), B))
year - as.character(c(rep(list(2009,
Hi:
Here's one way out:
xyplot(y ~ x|species*year, data = ex.data, type = c('p', 'r'))
type = is a very useful argument to know in xyplot(). See p.75 of the
Lattice book.
HTH,
Dennis
On Wed, Aug 24, 2011 at 12:30 PM, Adam Zeilinger zeil0...@umn.edu wrote:
Hello,
I am using the xyplot()
On Thu, Aug 25, 2011 at 1:00 AM, Adam Zeilinger zeil0...@umn.edu wrote:
Hello,
I am using the xyplot() function to create a series of scatterplot panels
with lines of best fit. To draw the lines of best fit for each panel, I am
using a panel function. Here's an example:
species -
Dear Deepayan and Dennis,
Both of your proposed fixes worked perfectly. Thank you!
Adam
On 8/24/2011 9:47 PM, Deepayan Sarkar wrote:
On Thu, Aug 25, 2011 at 1:00 AM, Adam Zeilingerzeil0...@umn.edu wrote:
Hello,
I am using the xyplot() function to create a series of scatterplot panels
4 matches
Mail list logo