Bug in function boxplot's axis labeling

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in function boxplot's axis labeling

Ulrike Grömping-3
Dear developeRs,

I appreciate that boxplot now labels the axes with variable names per
default. However, with argument "horizontal=TRUE" (which I always use),
the default axis labels are mixed up, as can e.g. be seen with

require(boot)
boxplot(time ~ poison, poisons, horizontal=TRUE)

The correct labels would be obtained by

boxplot(time ~ poison, poisons, horizontal=TRUE, xlab="time", ylab="poison")

Best, Ulrike

--
##############################################
## Prof. Ulrike Groemping
## FB II
## Beuth University of Applied Sciences Berlin
##############################################
## prof.beuth-hochschule.de/groemping
## Phone: +49(0)30 4504 5127
## Fax:   +49(0)30 4504 66 5127
## Home office: +49(0)30 394 04 863
##############################################

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: Bug in function boxplot's axis labeling

Martin Maechler
>>>>> Ulrike Grömping
>>>>>     on Mon, 6 May 2019 10:09:05 +0200 writes:

    > Dear developeRs, I appreciate that boxplot now labels the
    > axes with variable names per default. However, with
    > argument "horizontal=TRUE" (which I always use), the
    > default axis labels are mixed up, as can e.g. be seen with

    > require(boot)
    > boxplot(time ~ poison, poisons, horizontal=TRUE)

    > The correct labels would be obtained by

    > boxplot(time ~ poison, poisons, horizontal=TRUE,
    > xlab="time", ylab="poison")

    > Best, Ulrike

Yes, indeed.  Thank you, Ulrike, belatedly.

I've committed a corresponding change to R-devel yesterday, svn r 75503,
and will port that to   "R 3.6.0 patched" (so it will make it into R 3.6.1
and all newer versions) in a day or so.

Best,
Martin

--
Martin [hidden email]  &  @ETHZ.ch

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel