Skip to contents

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

Arguments

coe

a matrix of measurements

fac

a data.frame for covariates

Value

a list of class TraCoe

See also

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

Examples

# let's (more or less) rebuild the flower dataset
fl <- TraCoe(iris[, 1:4], dplyr::tibble(sp=iris$Species))
fl %>% PCA() %>% plot("sp")
#> will be deprecated soon, see ?plot_PCA