lm_plot: Linear Model Diagnostic Plots

Description Usage Arguments Examples

View source: R/plots.R

Description

Produce standard diagnostic plots for linear models using ggplot2.

Usage

1

Arguments

x

A linear model object produced by lm().

...

Extra arguments, currently ignored.

Examples

1
2
3
4
5
n <- 100
x1 <- rnorm(n)
y1 <- rnorm(n)
linmod <- lm(y1 ~ x1)
plot(linmod)

nhejazi/nima documentation built on March 10, 2020, 1:10 a.m.