[R] xyplot, type="b"
ronggui
ronggui.huang at gmail.com
Wed Jun 21 05:16:11 CEST 2006
> apropos("^panel")
will show you what panel function exist.It seems that panel.points
plus panel.lines are what you want.
> dat<-data.frame(x=1:10,y=1:10,z=sample(letters[1:3],10,T))
> xyplot(y~x | z, data = dat,pan=function(x,y,...) {panel.points(x,y,...);panel.lines(x,y,...)})
2006/6/21, Benjamin Tyner <btyner at gmail.com>:
> Is there any way to have xyplot produce the "points connected by lines"
> analogous to the effect of type="b" under standard graphics? I seem to
> recall doing this in xyplot at one point.
>
> Thanks,
> Ben
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
--
»ÆÈÙ¹ó
Department of Sociology
Fudan University
More information about the R-help
mailing list