Learn R Programming

SciencesPo (version 1.3.7)

error.bar: Add Error Bars on the Graph

Description

Draws error bars.

Usage

error.bar(x, y, upper, lower = upper, length = 0.1, ...)

Arguments

x
Coordinates for the error bars, or simply the name of the graph.
y
Coordinates for the center of the error bars, which is the group means.
upper
The length of the error bar, typically 1 se or sd in each direction.
lower
The error bars.
length
The length of the marks.
...
typically additional noninteresting arguments to pass.

encoding

UTF-8