View source: R/ols-residual-histogram.R
ols_plot_resid_hist | R Documentation |
Histogram of residuals for detecting violation of normality assumption.
ols_plot_resid_hist(model, print_plot = TRUE)
model |
An object of class |
print_plot |
logical; if |
Other residual diagnostics:
ols_plot_resid_box()
,
ols_plot_resid_fit()
,
ols_plot_resid_qq()
,
ols_test_correlation()
,
ols_test_normality()
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_plot_resid_hist(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.