Learn R Programming

bestglm (version 0.37.3)

fitted.pcreg: Fitted values in PCR and PLS.

Description

The fitted values are returned given the output from pcreg.

Usage

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

Arguments

object

object output

additional parameters

Value

residuals

Details

Method function for pcreg.

See Also

pcreg, residuals.pcreg, plot.pcreg

Examples

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

Run the code above in your browser using DataLab