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

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

Value

Four diagnostic plots in 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 Nov. 10, 2022, 5:07 p.m.