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@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.


______________________________________________
R-help@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.

Reply via email to