[R] setting yranges of boxplots

Liaw, Andy andy_liaw at merck.com
Wed Jun 29 03:26:04 CEST 2005


Something like this?

    boxplot(runif(100, 0, 100), ylim=c(0, 1000))

Andy

> From: Adrian L. Garcia-Lomana
> 
> Hi all,
> 
> I was wondering how to create a graph (boxplot) setting the y 
> range of the
> graph manually. Something like this:
> 
> >x <- c(1:100)
> >boxplot(x, yrange(0, 1000))
> 
> 
> Thanks for your time,
> 
> Adrian
> 
> ______________________________________________
> 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
> 
> 
>




More information about the R-help mailing list