Description Usage Arguments Value Examples
Determines various characteristics of a linearRegression model
1 | summary(model)
|
model |
a model fit through linearRegression |
a list containing the model formula, residuals, a data frame (entitled 'coefficients') with estimated regression coefficients, standard errors, t-statistics, and p-values for each coefficient, as well as R-squared, adjusted R-squared, degrees of freedom, model F-statistic, p-value, and residual standard error
1 2 3 | fit<-linearRegression(dist~speed, cars); summary(fit)
fit2<-linearRegression(mpg~cyl+disp+hp+wt+cyl:disp+disp:wt, dat=mtcars); summary(fit2)$coefficients
y<-rnorm(100); x<-rnorm(100); fit3<-linearRegression(y~x, subs=1:50); summary(fit3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.