Dear all, I am comparing:> summary(boxplot(c(1,2,3,4,5,6,7,8,50),range=1.5))Length Class Mode stats 5 -none- numeric n 1 -none- numeric conf 2 -none- numeric out 1 -none- numeric ^^^^^ group 1 -none- numeric names 1 -none- character with:> summary(boxplot(c(1,2,3,4,5,6,7,8,50),range=0))Length Class Mode stats 5 -none- numeric n 1 -none- numeric conf 2 -none- numeric out 4 -none- numeric ^^^^^ group 4 -none- numeric names 1 -none- character ... and boxplot(c(1,2,3,4,5,6,7,8,50),range=0) yields the outliers' points drawn over the whiskers, of course. In help(boxplot) I am reading "range: ...A value of zero causes the whiskers to extend to the data extremes". Is this an intended behaviour? Can I set the boxplot to draw whiskers extending to max and min without the outliers drawn over? Or am I missing something obvious? TIA Zdenek Skala skala at incoma.cz --- Odchoz? zpr?va neobsahuje viry. Zkontrolov?no antivirov?m syst?mem AVG (http://www.grisoft.cz). Verze: 6.0.250 / Virov? b?ze: 123 - datum vyd?n?: 18.4.2001 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi> I am comparing: > > summary(boxplot(c(1,2,3,4,5,6,7,8,50),range=1.5)) > Length Class Mode > stats 5 -none- numeric > n 1 -none- numeric > conf 2 -none- numeric > out 1 -none- numeric > ^^^^^ > group 1 -none- numeric > names 1 -none- character > > with: > > summary(boxplot(c(1,2,3,4,5,6,7,8,50),range=0)) > Length Class Mode > stats 5 -none- numeric > n 1 -none- numeric > conf 2 -none- numeric > out 4 -none- numeric > ^^^^^ > group 4 -none- numeric > names 1 -none- character > > ... and boxplot(c(1,2,3,4,5,6,7,8,50),range=0) yields the outliers' points > drawn over the whiskers, of course. In help(boxplot) I am reading "range: > ...A value of zero causes the whiskers to extend to the data extremes". Is > this an intended behaviour? Can I set the boxplot to draw whiskersextending> to max and min without the outliers drawn over? Or am I missing something > obvious?This looks like a bug in boxplot.stats(), which does not appear to calculate outliers as a special case for range=0. Could you please submit a formal bug report for this ? see help(bug.report) Thanks Paul -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._