[R] sub in boxplot doesn't do subtiles

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Mon Feb 28 22:19:42 CET 2000


"Robert L. Sandefur" <RLS at pincock.com> writes:

> I wanted a subtitle in boxplot and tried:
> 
> > boxplot((AU[ROCK==2 & AU>-1]+0.1~iz),log="y",main="Boxplot of AU by 25 M elevations",sub="aa")

Exercise in matching rules: sub= matches *subset* in the definition of
boxplot.formula 

One way out is to use the format

boxplot(x~y,subset=,sub="qwerty") 

another is to change the definition of boxplot.formula() so that the
'...' goes immediately after the formula argument, which will force
all argument matches to be exact and non-positional.

There's a deep code freeze on 1.0.0, so it cannot be fixed now, but
it might go into 1.0.1.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list