[R] plotCI -- multiple plots on same graph

brandon at brandoninvergo.com brandon at brandoninvergo.com
Thu Sep 11 16:54:30 CEST 2008

1) Look into plotmeans(), a wrapper function for plotCI....it may be more
appropriate for what you're looking for and one of the default options is
to connect the points with lines. Otherwise you'll have to do a separate
call to lines() after each plotCI() call.
2) To put multiple data sets on the same axes, you'll have to do a
plotmeans/plotCI call for each data set but before the second, third, etc
plot you should call par(new=TRUE)


On Thu, 11 Sep 2008 06:48:25 -0700 (PDT), bioinformatics_guy
<wwwhitener at gmail.com> wrote:
> I have a bunch of lines I want to plot using plotCI()
> What Id like to know is, how can I connect the points with a line and how
> can I print multiple lines on the same graph?
> --
> View this message in context:
> 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