jcreg_hist: Histogram of Residuals

Description Usage Arguments Value Examples

View source: R/assumption_checking.R

Description

Uses ggplot2::ggplot to create a nicely formatted histogram of the residuals of a model overlaid with a normal curve.

Usage

1
jcreg_hist(model)

Arguments

model

A linear regression model of class stats::lm

Value

Returns a ggplot object.

Examples

1
jcreg_hist(lm(brozek ~ ., data = bodyfat))

mtnbikerjoshua/jcreg documentation built on April 18, 2021, 10:01 p.m.