unitLine: Add the Unit Line to a plot

Description Usage Arguments Details See Also Examples

Description

A useful shortcut

Usage

1
unitLine(col = "blue", ...)

Arguments

col

The colour of the line

...

Used to pass any other parameters to the function abline

Details

This will simply draw the line y=x on any existing plot

See Also

abline

Examples

1
2
3
4
x <- rnorm(10)
y <- rnorm(10)
plot(x, y)
unitLine()

steveped/BMEA documentation built on May 30, 2019, 5:38 p.m.