getProbabilities.pca {mdatools} | R Documentation |
Probabilities for residual distances
## S3 method for class 'pca' getProbabilities(obj, ncomp, q, h, ...)
obj |
object with PCA model |
ncomp |
number of components to compute the probability for |
q |
vector with squared orthogonal distances for given number of components |
h |
vector with score distances for given number of components |
... |
other parameters |
Computes p-value for every object being from the same populaion as calibration set based on its orthogonal and score distances.