[R] Zoom on simple.violinplot

Peter Ehlers ehlers at ucalgary.ca
Tue Apr 12 11:50:09 CEST 2011


On 2011-04-11 09:44, PhDGuy wrote:
> Hello,
>
> I am using the function simple.violinplot from the package UsingR.
> I have some outliers in my dataset so that the distribution has very long
> tails.
> As a result, the y-axis of the output of simple.violinplot extends to very
> large values. I would like to zoom on the y-axis with a command such as
> ylim=c(a,b), as in boxplot(x,ylim=c(a,b)). However, doing
> simple.violinplot(x,ylim=c(a,b))  does not work. Is there any way out?

Check out the zoomplot() function in the TeachingDemos package.

Peter Ehlers

>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Zoom-on-simple-violinplot-tp3442515p3442515.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org 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