Description Usage Arguments Value Examples
Calculates coefficient estimates, standard errors, t-statistics, and p-values, as well as R squared, adjusted R squared, F-Statistic and p-value for model.
1 | linear_model(Y, X)
|
Y |
input outcome |
X |
input predictor(s) |
estimated effects of X on Y through OLS
1 2 | linear_model(Y=mtcars[,"mpg"],X=mtcars[,"hp"])
linear_model(Y=mtcars[,"mpg"],X=mtcars[,2:11])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.