[R] Suppress horizontal mean line in beanplot()
bgunter.4567 at gmail.com
Tue Feb 13 20:02:58 CET 2018
The package docs seem to provide your answer -- you just need to read them
See the "what" argument of ?beanplot.
Setting the first entry of the vector to 0 would seem to suppress the
Apologies if I've misread/misinterpreted.
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Tue, Feb 13, 2018 at 10:31 AM, Samuel Knapp <samuel.knapp at tum.de> wrote:
> I would like to use the beanplot() function from the beanplot package.
> Unfortunately, I can't find out how to suppress the dashed horizontal line,
> that shows the overall mean.
> In the help I've found the argument "overallline", but it only allows for
> "mean" or "median" .
> I have tried overallline = F, overallline="n", and overallline="", but
> without success.
> Strangely, I could also not find any suggestions on the internet.
> Does anybody know how to do this?
> ## Example code using the dataset InsectSprays from datasets package
> beanplot(count ~ spray, data = InsectSprays)
> # How to remove the dashed horizonal line?
> Samuel Knapp
> Lehrstuhl für Pflanzenernährung
> Technische Universität München
> (Chair of Plant Nutrition
> Technical University of Munich)
> Emil-Ramann-Strasse 2
> D-85354 Freising
> Tel. +49 8161 71-3578
> samuel.knapp at tum.de
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posti
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help