[R] Showing limits on line graphs

Monder, Harvey Harvey.Monder at pharma.com
Wed Jul 9 14:58:32 CEST 2003


I had considered using arrows or line segments to write my own function, but I though that someone might have done it before me.  Thanks to all for their rapid response.  The graphics I need can be generated using plotmeans in the gregmisc package.

	Harvey

-----Original Message-----
From: Duncan Murdoch [mailto:dmurdoch at pair.com]
Sent: Wednesday, July 09, 2003 8:46 AM
To: Monder, Harvey
Cc: 'r-help at lists. r-project. org' (E-mail)
Subject: Re: [R] Showing limits on line graphs


On Wed, 9 Jul 2003 07:54:19 -0400, you wrote:

>Is there a function that would allow me to create a line graph of some central tendency, such as mean, with limits indicated by a vertical line at each data point, i.e. SD?  It's a fairly common type of graphic, but in looking through examples I have been able to find, I have found no function for such a graph.

You can construct these yourself using arrows(angle=90).  There are
functions which package this; one I can think of right now is plotCI,
in the gregmisc package.

Duncan Murdoch




More information about the R-help mailing list