Description Usage Arguments Value See Also Examples
Fits multiple linear models.
1 |
formula |
an object of class |
data |
an optional data frame, list or environment (or object coercible
by |
vars |
a character vector of variables of interest. |
save.residuals |
whether model residuals should be stored and returned. |
A list with elements:
coefficients |
if 'vars' is missing or non-empty, an array (or data
frame, if |
residuals |
if |
1 2 3 4 5 6 |
Warning messages:
1: In summary.lm(model) :
essentially perfect fit: summary may be unreliable
2: In summary.lm(model) :
essentially perfect fit: summary may be unreliable
3: In summary.lm(model) :
essentially perfect fit: summary may be unreliable
4: In summary.lm(model) :
essentially perfect fit: summary may be unreliable
5: In summary.lm(model) :
essentially perfect fit: summary may be unreliable
List of 2
$ nobs : int [1:6] 100 100 100 100 100 100
$ coefficients: num [1:6, 1:5, 1:3] -1.56e-16 1.00 1.19e-17 -5.04e-17 -3.79e-18 ...
..- attr(*, "dimnames")=List of 3
.. ..$ : NULL
.. ..$ : chr [1:5] "X1" "X2" "X3" "X4" ...
.. ..$ : chr [1:3] "coef" "coef.se" "pval"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.