Learn R Programming

olsrr (version 0.4.0)

ols_rsd_hist: Residual Histogram

Description

Histogram of residuals for detecting violation of normality assumption.

Usage

ols_rsd_hist(model)

Arguments

model

an object of class lm

Examples

Run this code
# NOT RUN {
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_rsd_hist(model)
# }

Run the code above in your browser using DataLab