ols_plot_resid_hist {olsrr} | R Documentation |
Residual histogram
Description
Histogram of residuals for detecting violation of normality assumption.
Usage
ols_plot_resid_hist(model, print_plot = TRUE)
Arguments
model |
An object of class |
print_plot |
logical; if |
See Also
Other residual diagnostics:
ols_plot_resid_box()
,
ols_plot_resid_fit()
,
ols_plot_resid_qq()
,
ols_test_correlation()
,
ols_test_normality()
Examples
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_plot_resid_hist(model)
[Package olsrr version 0.6.0 Index]