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())

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

plot

plot to which this line is to be added

Details

Typical usages are

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

Value

Resulting iObject.

See Also

ilines, iobj.opt


[Package iplots version 1.1-8 Index]