[R] lattice panel.linejoin type question

From: Walker, Sam <s-walker_at_ti.com>
Date: Tue 02 Jan 2007 - 15:28:20 GMT

Hello R Users!

I'm trying to use the panel.linejoin function to draw points and lines (type="o") but it wouldn't do it. Modifying the panel.linejoin function as such (adding type argument to the panel.lines call).  


        panel.lines(vals[xx], yy, col = col.line, lty = lty, 
            lwd = lwd, ...)


panel.lines(vals[xx], yy, col = col.line, lty = lty, lwd = lwd, type, ...)

Then passing the type="o" in the panel.linejoin call as such works. xyplot(

	,panel.groups=function(x,y,subscripts,...) {


However, if I don't add the "type" in the panel.lines call, I get a "formal argument "type" matched by multiple actual arguments" Error.

It seems like overkill to redefine panel.lines, is there a simpler way?

R 2.4.1 Windows XP
Lattice 0.14-16

Best Regards,

R-help@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 and provide commented, minimal, self-contained, reproducible code. Received on Wed Jan 03 02:31:58 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 02 Jan 2007 - 23:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.