OLP regression
OLP_regression(predictor, outcome, na.rm = FALSE)
predictor | Numeric vector |
---|---|
outcome | Vector |
na.rm | Should NAs be removed? Default is |
Function modified using the function from https://stat.ethz.ch/pipermail/r-help/2011-July/285022.html
List with the following elements: intercept
, slope
, rse
#> $intercept #> [1] 0.3145142 #> #> $slope #> [1] 0.9975385 #> #> $rse #> [1] 0.8352593 #>