Description Usage Arguments Value See Also Examples
Use predicted rsquared to determine how well the model predicts responses for new observations. Larger values of predicted R2 indicate models of greater predictive ability.
1 | ols_pred_rsq(model)
|
model |
An object of class |
Predicted rsquare of the model.
Other influence measures: ols_hadi
,
ols_leverage
, ols_press
1 2 | model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars)
ols_pred_rsq(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.