Learn R Programming

DepthProc (version 1.0.1)

abline,RobReg-method: Add line to plot

Description

Add fitted line to a plot. This is overloaded function for robust regression methods from package depthproc.

Usage

## S3 method for class 'RobReg':
abline(a = NULL, b = NULL, h = NULL, v = NULL,
  reg = NULL, coef = NULL, untf = FALSE, ...)

Arguments

a
an object of class RobReg
b
not used.
...
Arguments to be passed to methods, such as graphical parameters (see par).
h
the y-value(s) for horizontal line(s).
v
the x-value(s) for vertical line(s).
reg
an object with a coef method. See Details.
coef
a vector of length two giving the intercept and slope.
untf
logical asking whether to untransform. See Details.