halfnorm: Produce a half normal plot

View source: R/halfnorm.r

halfnormR Documentation

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.

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.

Value

No values are returned.

Note

The labelling of the largest 5 percent is utterly arbitrary.

Author(s)

J.M. Curran


dafs documentation built on April 11, 2022, 5:06 p.m.

Related to halfnorm in dafs...