Skip to content

boxplot(): formating median in another linethickness?

2 messages · Stephan Holl, Uwe Ligges

#
Dear guRus,
I want to do some boxplots, but the median sould appear in another
line-thickness and another color.
I do not know, what to do in order to realise my wishes.

Sorry for that question, but I am new to R.

cheers
  steph
#
Stephan Holl wrote:
You have to adapt the function bxp() for your purposes:
If you use fix(bxp), you can change the color in lines 27 and 38.
It's a nice programming exercise to add an argument to boxplot() that
colors the median differently from the other borders (and thus passes
the argument to bxp() appropriately).

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._