Learn R Programming

Morpho (version 2.6)

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

Description

classify specimen based on between-group PCA, CVA or typprobClass

Usage

classify(x, cv = TRUE)

# S3 method for bgPCA classify(x, cv = TRUE)

# S3 method for CVA classify(x, cv = T)

# S3 method for typprob classify(x, cv = TRUE)

Arguments

x

result of groupPCA, CVA or typprobClass

cv

logical: use cross-validated scores if available

Value

class

classification result

groups

original grouping variable

for object of CVA and typprob, also the posterior probabilities are returned.

See Also

CVA,groupPCA, typprobClass