Re: [R] Range difference of plot two arrays in one plot

2013-02-01 Thread Yuan, Rebecca
rom: David Winsemius [mailto:dwinsem...@comcast.net] Sent: Friday, February 01, 2013 11:39 AM To: Yuan, Rebecca Subject: Re: [R] Range difference of plot two arrays in one plot On Feb 1, 2013, at 10:28 AM, Yuan, Rebecca wrote: > Hello all, > > When I tried to plot the following two

Re: [R] Range difference of plot two arrays in one plot

2013-02-01 Thread Jeff Newmiller
One method is to follow correct usage of base graphics and only use the plot function once for each plot. To overlay, use a function like points or lines. Another approach is to use lattice graphics or ggplot2 and give the data to higher-level plot routines that know how to plot multiple groups