[Rd] matlines, matpoints don't follow prototype (PR#506)
cberry@tajo.ucsd.edu
cberry@tajo.ucsd.edu
Sun, 26 Mar 2000 22:49:24 +0200 (MET DST)
The Blue Book allows the 'type' argument to be used in matpoints and
matlines.
matlines(x, y, type="l", lty=1:5, pch=, col=1:4)
R-1.0.0 does not.
Thus, type="h", "b", must be invoked thru matplot( x, y, type = "h",
add=TRUE)
For the sake of consistency with S, it would be nice to have matlines
defined as:
"matlines" <-
function(x, y, type = 'l', lty=1:5, lwd = 1, pch=NULL, col=1:6, ...)
matplot(x=x, y=y, type=type, lty=lty, lwd=lwd, pch=pch, col=col,
add=TRUE, ...)
and similarly for matpoints.
Chuck Berry
--
Charles C. Berry (858) 534-2098
Dept of Family/Preventive
Medicine
E mailto:cberry@tajo.ucsd.edu UC San Diego
http://hacuna.ucsd.edu/members/ccb.html La Jolla, San Diego 92093-0645
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._