classify: classify specimen based on between-group PCA or CVA
Description
classify specimen based on between-group PCA or CVAUsage
classify(x, cv = TRUE)## S3 method for class 'bgPCA':
classify(x, cv = TRUE)
## S3 method for class 'CVA':
classify(x, cv = T)
Arguments
x
result of groupPCA or CVA
cv
logical: use cross-validated scores if available
Value
- classclassification result
- groupsoriginal grouping variable
- for object of CVA, also the posterior probabilities are returned.