[R] Putting 2 breaks on Y axis

Greg Snow Greg.Snow at intermountainmail.org
Thu Apr 12 23:58:59 CEST 2007


> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Stephen Weigand
> Sent: Thursday, April 12, 2007 2:32 PM
> To: Inman, Brant A. M.D.
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] Putting 2 breaks on Y axis
> 

[snip]

> 
> I was thinking plot the data without the outliers and include 
> a smaller inscribed plot in a corner showing all the data 
> (the "global view"). But I couldn't figure out how to do this.
> 
> (I think legend() works very hard to do this type of thing.)

This is fairly easy to do with the subplot function in the TeachingDemos
package:


> 
> Stephen
> 




-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at intermountainmail.org
(801) 408-8111



More information about the R-help mailing list