Description Usage Arguments Details Deprecated Function Examples
Plot of observed vs fitted values to assess the fit of the model.
1 | ols_plot_obs_fit(model)
|
model |
An object of class |
Ideally, all your points should be close to a regressed diagonal line. Draw such a diagonal line within your graph and check out where the points lie. If your model had a high R Square, all the points would be close to this diagonal line. The lower the R Square, the weaker the Goodness of fit of your model, the more foggy or dispersed your points are from this diagonal line.
ols_ovsp_plot()
has been deprecated. Instead use ols_plot_obs_fit()
.
1 2 | model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_plot_obs_fit(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.