Description Usage Arguments Value Examples
Summarize linear model fit.
| 1 | 
| DF | a data.frame | 
| yvar | character vector of the column name for outcome | 
| xvar | character vector of the column name(s) for predictor(s) | 
| verbose | logical whether to print summary | 
| digits | integer number of digits to print (if verbose is equal to FALSE, this parameter is not considered) | 
a data.frame of the r-squared and the rmse for the linear regression
| 1 2 | test <- data.frame(x = 1:100, y = 1:100 + rnorm(100))
modelfit(test, yvar = "y", xvar = "x")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.