plot.errors {errors}R Documentation

Generic X-Y Plotting

Description

S3 method for errors objects which automatically prints the error bars.

Usage

## S3 method for class 'errors'
plot(x, y, ...)

Arguments

x

the coordinates of points in the plot. Alternatively, a single plotting structure, function or any R object with a plot method can be provided.

y

the y coordinates of points in the plot, optional if x is an appropriate structure.

...

additional arguments (see plot).

Examples

cars <- as.matrix(cars)
cars <- as.data.frame(set_errors(cars, cars * 0.05))
plot(cars)


[Package errors version 0.3.1 Index]