contrasts_correlations | R Documentation |
Use independent contrasts on each pair of traits. If a trait is missing for a taxon, drop that taxon for all analyses with that trait but not others. It runs cor.test on the positivized contrasts and returns the correlation, lower, and upper 95
contrasts_correlations(phy, traits)
phy |
A phylo object |
traits |
A data.frame of traits with first column as species |
A list with three objects: the correlations, lower, and upper.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.