Description Usage Arguments Value References Examples
The function linreg
takes a formula object and a
data.frame
as arguments, and returns an object as an S3 class.
It performs ordinary least squares or QR decomposition to calculate different statistics.
1 |
formula |
a formula, like y~x |
data |
a data frame |
QR |
use QR decomposition if TRUE, else OLS |
A linreg class object
https://en.wikipedia.org/wiki/QR_decomposition
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.