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

...

regbook/regbook documentation built on June 27, 2020, 10:15 p.m.