[R] How to ignore outliers in a boxplot

Neha gupta neh@@bo|ogn@90 @end|ng |rom gm@||@com
Wed Aug 4 16:04:05 CEST 2021


Thanks a lot Sir

Yes, that's what I was looking for.

Warm regards

On Wed, Aug 4, 2021 at 4:01 PM Rui Barradas <ruipbarradas using sapo.pt> wrote:

> Hello,
>
> I'm not sure whether you are looking for argument range:
>
>
> boxplot(var, range = 0)
>
>
> 14 is now part of the whiskers, see ?boxplot.
>
> Hope this helps,
>
> Rui Barradas
>
> Às 14:51 de 04/08/21, Neha gupta escreveu:
> > Hi
> >
> > I have values like:
> >
> > var= c(0, 0, 0,0, 0, 14, 0, 14, 0, 2, 3)
> >
> > I want to show these values in a boxplot
> >
> > boxplot (var)
> >
> > However, the boxplot shows only the zero values and the value till 14 are
> > shown as outliers.. I want to show all my values as boxplot, can I do
> that?
> >
> > If I use outline=F, it excludes all the outliers.
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > 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.
> >
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list