gglm: gglm

View source: R/gglm.R

gglmR Documentation

gglm

Description

Provides four standard visual model diagnostic plots with 'ggplot2'.

Usage

gglm(data, theme = ggplot2::theme_gray(), ...)

Arguments

data

A model object of type 'lm' or 'glm'.

theme

The theme of the 'ggplot's to be produced.

...

Currently ignored. For extendability.

Value

A a 'ggplot2' object for visual diagnostic of model validity.

Examples

data(mtcars)
m1 <- lm(mpg ~ cyl + disp + hp, data = mtcars)
gglm(m1)

gglm documentation built on March 31, 2023, 5:45 p.m.

Related to gglm in gglm...