Given a phylogeny, will generate associated trait data for two traits following a
Brownian motion evolution model.
Usage
evolveTraits(tree, sigma = 0.1)
Arguments
tree
A phylogeny.
sigma
The Brownian motion rate parameter.
Value
A list where the first object is a phylogeny with the desired number of species
and the second object is a matrix of trait values for those species.
Details
Evolves two traits independently up phylogeny with Brownian motion evolution
process. Sigma is currently set to 0.1 as default.
References
Miller, E. T., D. R. Farine, and C. H. Trisos. 2016. Phylogenetic community
structure metrics and null models: a review with new methods and software.
Ecography DOI: 10.1111/ecog.02070