plot.formula and pch= (PR#149)

Jonathan Rougier Jonathan Rougier <J.C.Rougier@durham.ac.uk>
Fri, 26 Mar 1999 08:59:03 +0000 (GMT)


On Thu, 25 Mar 1999 p.dalgaard@biostat.ku.dk wrote:

> There is no check on the length of the vector passed in the pch=
> argument to plot, it is just recycled as necessary:

<...>

> It would help to get a warning that the lengths don't match, but are
> there any good uses of the recycling of pch?

There might be a case for it in time series graphs, where there are
periodic characteristics of the data (days of the week, for example).

Cheers, Jonathan.

Jonathan Rougier                       Science Laboratories
Department of Mathematical Sciences    South Road
University of Durham                   Durham DH1 3LE

"[B]egin upon the precept ... that the things we see are to be 
 weighed in the scale with what we know"  (Meredith, 1879, The Egoist)


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._