View source: R/cl-def-TraCoe.R
TraCoe | R Documentation |
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
TraCoe(coe = matrix(), fac = dplyr::tibble())
coe |
a matrix of measurements |
fac |
a data.frame for covariates |
a list of class TraCoe
Other classes:
Coe()
,
Coo()
,
Ldk()
,
OpnCoe()
,
Opn()
,
OutCoe()
,
Out()
# let's (more or less) rebuild the flower dataset
fl <- TraCoe(iris[, 1:4], dplyr::tibble(sp=iris$Species))
fl %>% PCA() %>% plot("sp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.