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 [[alternative HTML version deleted]]
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?Please read the help files. ?bwplot points you to ?panel.bwplot which explains that you should use argument "coef". Uwe Ligges> regards > > Vincent > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
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