visualize.lm: Visualize a fitted model

View source: R/visualize.R

visualize.lmR Documentation

Visualize a fitted model

Description

Visualize a fitted model

Usage

## S3 method for class 'lm'
visualize(
  object,
  plot = c("all", "residuals", "model"),
  formula = NULL,
  plots.as.list = FALSE,
  ...
)

Arguments

object

a lm object

plot

what should be plotted? Residuals? Model plot? All of them?

formula

A flexplot-style formula

plots.as.list

Should the plots be returned as a list? Defaults to FALSE.

...

Other arguments passed to flexplot

Value

a plot containing a visual of the chosen model


dustinfife/flexplot documentation built on Sept. 23, 2024, 9:01 p.m.