iabline {iplots}R Documentation

Add a straight line to the current iPlot.

Description

This function adds one straight line through the current iPlot.

Usage

iabline(a = NULL, b = NULL, reg = NULL, coef = NULL, ..., plot = iplot.cur())

Usage

iabline(a, b, ...)
iabline(coef=, ...)
iabline(reg=, ...)

Arguments

a, b

the intercept and slope

coef

a vector of length two giving the intercept and slope

reg

an object with a coef component

...

object options for iobj.opt

Value

Resulting iObject.

See Also

ilines, iobj.opt


[Package iplots version 1.1-4 Index]