[R] Fwd: Plot the means with simultaneous horizontal and vertical error bars
sarah.goslee at gmail.com
Fri Jul 18 23:29:02 CEST 2014
Did you read the help?
err: The direction of error bars: "x" for horizontal, "y" for
vertical ("xy" would be nice but is not implemented yet;
don't know quite how everything would be specified. See
examples for composing a plot with simultaneous horizontal
and vertical error bars)
On Fri, Jul 18, 2014 at 5:22 PM, Ahmed Attia <ahmedatia80 at gmail.com> wrote:
> PlotCI provides the vertical CI bars only. Do you have any idea?
> plotCI(x=means, uiw=ciw)
> # prettier
> plotCI(x=means, uiw=ciw, col="black", barcol="blue", lwd=1)
> Ahmed M. Attia
> Research Assistant
> Dept. of Soil&Crop Sciences
> Texas A&M University
> ahmed.attia at ag.tamu.edu
> Cell phone: 001-979-248-5215
> FAX: 001-308-455-4024
> On Fri, Jul 18, 2014 at 4:00 PM, Sarah Goslee <sarah.goslee at gmail.com> wrote:
>> You could try plotCI from the plotrix package.
>> Note that most attachments are stripped; dput() is the preferred way
>> to include data.
>> On Fri, Jul 18, 2014 at 4:41 PM, Ahmed Attia <ahmedatia80 at gmail.com> wrote:
>>> Dear R users,
>>> I would appreciate your help in plotting the means with simultaneous
>>> horizontal and vertical error bars. I use the lineplot.CI but it creates
>>> the vertical bars only.
>>> The attached file has the dataset that I want to graph. The (X) is the
>>> x-axis values and (y Lint) is the response in y-axis. Therefore, values in
>>> the x-axis would be 150, 350, 550, .....etc.
>>> At each value of the x-axis would be the average response point (y Lint)
>>> with vertical and horizontal error bars.
>>> Each value of the x-axis (X) represents a range of values that in x Water.
>>> The x Water column should be used to draw the horizontal lines.
>>> Thank you so much.
>> Sarah Goslee
More information about the R-help