Description Usage Arguments Value Examples
Linear regression models using an S3 class and the calculations are done using QR Decomposition
1 |
formula |
formula |
data |
a dataframe |
Returns an object of the class linreg
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | linreg_mod <-linreg(Petal.Length~Sepal.Width+Sepal.Length, data=iris)
summary(linreg_mod)
Gives character vector containing all the names which occur in the formula.
Model matrix created where operations are done
Object creation
Decomposing to Q and R matrix
Regression coefficient
Gives all the fitted values
Gives residual values of Formula
Degrees of freedom
Gives residual variance
converting into a scalar quantity
Calculating variance of Regression coefficients
T-values for each coefficient
P-values
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.