classif.matrix {MorphoTools2} | R Documentation |
Format the Classifdata to Summary Table
Description
The classif.matrix
method formats the results stored in classifdata
class to a summary classification table of taxa, populations, or individuals.
Usage
classif.matrix(result, level = "taxon")
Arguments
result |
an object of class |
level |
level of grouping of classification matrix, |
Value
A data.frame
, summary classification table.
Examples
data(centaurea)
centaurea = naMeanSubst(centaurea)
centaurea = removePopulation(centaurea, populationName = c("LIP", "PREL"))
# classification by linear discriminant function
classifRes.lda = classif.lda(centaurea, crossval = "indiv")
# exporting results
classif.matrix(classifRes.lda, level = "taxon")
classif.matrix(classifRes.lda, level = "pop")
[Package MorphoTools2 version 1.0.1.1 Index]