# Get a list of matrices
# from the carnivora dataset
data(carnivora)
matrices <- phylter(carnivora, InitialOnly = TRUE, parallel = FALSE)$matrices
# Perform a Distatis analysis on these matrices:
distatis <- DistatisFast(matrices, parallel = FALSE)
#distatis is a list with multiple elements:
distatis$alpha #weigh of each matrix (how much it correlates with others)
distatis$RVmat #RV matrix: correlation of each matrix with each other
distatis$compromise # distance matrix with "average" pairwise distance between species in matrices
# etc.
Run the code above in your browser using DataLab