Learn R Programming

bestglm (version 0.37.3)

residuals.pcreg: Residuals Fitted PCR or PLS

Description

The residuals from a model fitted using pcreg are returned.

Usage

# S3 method for pcreg
residuals(object, ...)

Arguments

object

object output

additional parameters

Value

residuals

Details

Method function for pcreg.

See Also

pcreg, fitted, plot

Examples

Run this code
# NOT RUN {
resid(pcreg(mcdonald, scale=TRUE))
# }

Run the code above in your browser using DataLab