[R] Suggestion: add log argument to stripchart

Stephen Eglen eglen at pcg.wustl.edu
Sun Mar 30 20:11:41 CEST 2003


Hello,

I frequently use stripchart to summarise data.  Recently I wished to
plot a stripchart on a log scale, so modified stripchart locally.  The
change is small, just adding log="" to the function call and
then changing line 42 of src/library/base/R/stripchart.R from:

    plot(xlim, ylim, type="n", ann=FALSE, axes=FALSE)

to: 

    plot(xlim, ylim, type="n", ann=FALSE, axes=FALSE, log=log)

Could I request this be added?  If so, I'd be happy to send a patch
for the .R and .Rd files.  boxplot() already offers the log argument,
so I hope this is a reasonable and useful request.

Stephen



More information about the R-help mailing list