plotRegressionLine function

Add regression line for data points

Add regression line for data points

Shows linear fit line for data points.

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

Arguments

  • p: plot data returned by function mdaplot()
  • col: color of line
  • ...: other parameters available for abline() function
  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19