Description Usage Arguments Value Source Examples
OLP regression
1 | OLP_regression(predictor, outcome, na.rm = FALSE)
|
predictor |
Numeric vector |
outcome |
Vector |
na.rm |
Should NAs be removed? Default is |
List with the following elements: intercept
, slope
, rse
Function modified using the function from https://stat.ethz.ch/pipermail/r-help/2011-July/285022.html
1 2 3 4 5 | data("weight_data")
with(
weight_data,
OLP_regression(`OS 1`, `OS 3`)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.