lmPlots_gg: Linear Model Diagnostic Plots with ggplot2

Description Usage Arguments Examples

View source: R/plots.R

Description

Produce standard diagnostic plots for linear models using ggplot2.

Usage

1
lmPlots_gg(model)

Arguments

model

A linear model object produced by lm().

Examples

1
2
3
n <- 100; x1 <- rnorm(n); y1 <- rnorm(n);
linmod <- lm(y1 ~ x1)
lmPlots_gg(linmod)

Example output

nima: Nima Hejazi's R Toolbox
Version: 0.4.5

nima documentation built on May 21, 2018, 5:03 p.m.