[R] suppressing outliers in ggboxplot

hadley wickham h.wickham at gmail.com
Mon May 14 11:53:00 CEST 2007


Hi Antonio,

You can't in the current version.  However, you can in the next
version, which I hope to release very soon:

p <- ggplot(mtcars, aes(y=mpg, x=factor(cyl)))
p + geom_boxplot() # has outliers
p + geom_boxplot(shape=NA) # no outliers

Hadley

On 5/13/07, Antonio, Fabio Di Narzo <antonio.fabio at gmail.com> wrote:
> Hi.
> How can I suppress those red dots from ggboxplot output in package ggplot?
> This is especially a nuisance when adding a jitter (as it is done in the end
> of the package vignette).
>
> Bests,
> Antonio.
> --
> Antonio, Fabio Di Narzo
> Ph.D. student at
> Department of Statistical Sciences
> University of Bologna, Italy
>
>         [[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
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list