Learn R Programming

Morpho (version 2.1)

classify: classify specimen based on between-group PCA or CVA

Description

classify specimen based on between-group PCA or CVA

Usage

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.