Learn R Programming

mdatools (version 0.14.2)

plotRegressionLine: Add regression line for data points

Description

Shows linear fit line for data points.

Usage

plotRegressionLine(p, col = p$col, ...)

Arguments

p

plot data returned by function `mdaplot()`

col

color of line

...

other parameters available for `abline()` function