Learn R Programming

bestglm (version 0.37.3)

plot.pcreg: Diagnostic plots for PCR and PLS

Description

Diagnostic plots available with lm-objects are provided.

Usage

# S3 method for pcreg
plot(x, ...)

Arguments

x

x output from pcreg(). It has S3 class 'pcreg'.

additional parameters

Value

Nothing. The plot is produced.

Details

See plot method for S3 class 'lm'.

See Also

pcreg, fitted.pcreg, residuals.pcreg

Examples

Run this code
# NOT RUN {
ans <- pcreg(mcdonald, scale=TRUE)
plot(ans)
# }

Run the code above in your browser using DataLab