pD: Diagnostic Plot for Regression

View source: R/pD.R

pDR Documentation

Diagnostic Plot for Regression

Description

Four standard diagnostic plots for regression.

Usage

  pD(rx, Title=NULL)

Arguments

rx

a result of lm, which can give fitted, residuals, and rstandard.

Title

title to be printed on the plot

Details

The most frequently used diagnostic plots are 'observed vs. fitted', 'standardized residual vs. fitted', 'distribution plot of standardized residuals', and 'Q-Q plot of standardized residuals'.

Value

Four diagnostic plots on a page.

Author(s)

Kyun-Seop Bae k@acr.kr

Examples

  pD(lm(uptake ~ Plant + Type + Treatment + conc, CO2), "Diagnostic Plot")

sasLM documentation built on June 15, 2026, 9:07 a.m.