
Compute Q-statistic and in-domain flag for new spectra against a fitted PCA
Source:R/applicability.R
predict_q_statistic.RdCompute Q-statistic and in-domain flag for new spectra against a fitted PCA
Arguments
- pca
Fitted PCA list (from
.fit_pca())- X_new
Numeric matrix of new (preprocessed) spectra
- ucl_q
Upper Confidence Limit (from
q_statistic_ucl())