pcv {pcv} | R Documentation |
Compute matrix with pseudo-validation set
Description
Compute matrix with pseudo-validation set
Usage
pcv(
X,
ncomp = min(round(nrow(X)/nseg) - 1, col(X), 20),
nseg = 4,
scale = FALSE
)
Arguments
X |
matrix with calibration set (IxJ) |
ncomp |
number of components for PCA decomposition |
nseg |
number of segments in cross-validation |
scale |
logical, standardize columns of X prior to decompositon or not |
Details
This is the old (original) version of PCV algorithm for PCA models. Use pcvpca
instead. Ane check project web-site for details: https://github.com/svkucheryavski/pcv
The method computes pseudo-validation matrix Xpv, based on PCA decomposition of calibration set X and systematic (venetian blinds) cross-validation. It is assumed that data rows are ordered correctly, so systematic cross-validation can be applied
Value
Pseudo-validation matrix (IxJ)
[Package pcv version 1.1.0 Index]