On Sun, Oct 17, 2010 at 10:01 AM, Coen van Hasselt
wrote:
> Hi all,
>
> Using xyplot I want to print to Y variables (y1, y2) versus X, conditional
> on the group.
> How can I obtain a line (type="l") for one relationship (ie. y1 ~ x) and
> points (type="p") for the other (y2 ~ x) ?
>
> library(lat
Hi all,
Using xyplot I want to print to Y variables (y1, y2) versus X, conditional
on the group.
How can I obtain a line (type="l") for one relationship (ie. y1 ~ x) and
points (type="p") for the other (y2 ~ x) ?
library(lattice)
# create some sample data
df<-data.frame(group=as.factor(c(rep("a"
2 matches
Mail list logo