[R] plot the same types of graphics on the same R graphic device
Jim Lemon
jim at bitwrit.com.au
Mon Oct 12 12:06:44 CEST 2009
On 10/12/2009 08:47 PM, carol white wrote:
> one example is to plot two vectors against each other and then, to plot the CI (confidence interval) of each point on the same graphics. The first could be done by plot and the second by plotCI in gplots package but how to plot on the same R graphic device?
>
Hi Carol,
I would:
plot(<the first vector>)
dispersion(<for the first vector>)
points(<the second vector>)
dispersion(<for the second vector>)
There are a number of other functions to display CIs.
Jim
More information about the R-help
mailing list