[R] Lattice plots of the form xyplot(y1+y2~x)

Ross Darnell r.darnell at uq.edu.au
Sat Nov 18 02:59:11 CET 2006


I would appreciate help trying
to set different plot types  in a lattice plot with multiple responses e.g.

xyplot(y+fval~x)

but  have "y" as points and "fval" as a line.

I have tried

xyplot(y+fval~x,type=c("p","l"))

but this results in both plots having both types.

Thanks

Ross Darnell
University of Queensland, AUSTRALIA



More information about the R-help mailing list