Description Usage Arguments Value Examples
Performs linear regression using Ordinary Least Squares (or Weighted Least Squares when weights are specified)
1 |
formula |
Model formula using specified columns of DataFrame 'data'. Can include interactions and select no intercept with -1 |
data |
Dataframe from which model variables are pulled. |
weights |
Vector of weights to be used in Weighted Least Squares regression estimates. Default = NULL. |
List containing the following elements
beta estimates
estimate standard errors
test statistics
p-values
residuals
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.