plot_lm: Plot linear model object

View source: R/plot_functions.r

plot_lmR Documentation

Plot linear model object

Description

Plot linear model object

Usage

plot_lm(lm_fit, format = "2x2", global_aes = NULL)

Arguments

lm_fit

An object of class 'lm'

format

The format of the plot (or a list of plots if format is "list")

global_aes

Currently no effect.

Examples

data(income)
m1 <- lm(inc ~ race + educ, data=income)
plot_lm(m1)
plot_lm(m1, "2x2")
plot_lm(m1, "1x4")
plot_lm(m1, "4x1")
plot_lm(m1, "list")


doBy documentation built on April 11, 2025, 6:13 p.m.