Learn R Programming

dafs (version 1.0-38)

halfnorm: Produce a half normal plot

Description

Produce a half normal plot for a fitted lm or glm object. This function should work for any class that implements residuals.

Usage

halfnorm(fit)

Arguments

fit

A lm or glm object.

Value

No values are returned.

Details

The absolute value of the residuals are plotted against the positive quantiles of the normal distribution. The largest 5 percent of the empirical quantiles are labelled to help identify potential outliers.