Learn R Programming

Momocs (version 1.4.1)

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::tibble())

Value

a list of class TraCoe

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
# let's (more or less) rebuild the flower dataset
fl <- TraCoe(iris[, 1:4], dplyr::tibble(sp=iris$Species))
fl %>% PCA() %>% plot("sp")

Run the code above in your browser using DataLab