Learn R Programming

Momocs (version 1.3.2)

TraCoe: Traditional morphometrics class

Description

Defines the builder for traditional measurement class in Momocs. Is is intended to ease calculations, data handling and multivariate statistics just ad the other Momocs' classes

Usage

TraCoe(coe = matrix(), fac = dplyr::data_frame())

Arguments

coe

a matrix of measurements

fac

a data.frame for covariates

See Also

Other classes: Coe(), Coo(), Ldk(), OpnCoe(), Opn(), OutCoe(), Out()

Examples

Run this code
# NOT RUN {
# let's (more or less) rebuild the flower dataset
fl <- TraCoe(iris[, 1:4], dplyr::data_frame(sp=iris$Species))
fl %>% PCA() %>% plot("sp")
# }

Run the code above in your browser using DataLab