plot.errors {errors}R Documentation

Scatterplot with Error Bars

Description

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

Usage

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

Arguments

x, y

the x and y arguments provide the x and y coordinates for the plot. Any reasonable way of defining the coordinates is acceptable. See the function xy.coords for details. If supplied separately, they must be of the same length.

...

additional arguments (see plot).

Examples

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


[Package errors version 0.4.2 Index]