pcr.fit: Fitting Principal Component Regression Model

Description Usage Arguments

View source: R/pcr.R

Description

Fitting Principal Component Regression Model

Usage

1
pcr.fit(x, y, ncomp, cor = TRUE, ...)

Arguments

x

explanatory matrix

y

response vector

ncomp

number of principal components

cor

a logical value indicating whether the calculation should use the correlation matrix or the covariance matrix. See princomp

...

ssustat/regbook documentation built on July 7, 2020, 12:16 a.m.