abline_range: Add a line to a plot

Description Usage Arguments

Description

As abline, but with from and to arguments. If a fitted linear regression model is used as asn argument, it uses the min and max values of the data used to fit the model.

Usage

1
2
abline_range(a = NULL, b = NULL, reg = NULL, from = NULL, to = NULL,
  ...)

Arguments

a

Intercept (optional)

b

Slope (optional)

reg

A fitted linear regression model (output of lm).

from

Draw from this X value

to

Draw to this x value

...

Further parameters passed to segments


RemkoDuursma/plover documentation built on May 9, 2019, 9:39 a.m.