[R] range and bwplot
    Sundar Dorai-Raj 
    sundar.dorai-raj at pdf.com
       
    Sun Mar 26 17:19:41 CEST 2006
    
    
  
vincent david wrote:
> Hi,
> 
> is there an equivalent to the 'range' option of the boxplot function to be
> found in the bwplot function of the trellis package?
> 
> regards
> 
> Vincent
> 
Hi, Vincent,
 From ?panel.bwplot, you can supply your own function for "stats". For 
your case, you would need:
bwplot(decrease ~ treatment,
        OrchardSprays, groups = rowpos,
        stats = function(x, coef = 1, ...) {
          boxplot.stats(x, coef, ...)
        })
HTH,
--sundar
    
    
More information about the R-help
mailing list