Description Usage Arguments Details Value References Examples
Given a phylogeny, will generate associated trait data for two traits following a Brownian motion evolution model.
1 | evolveTraits(tree, sigma = 0.1)
|
tree |
A phylogeny. |
sigma |
The Brownian motion rate parameter. |
Evolves two traits independently up phylogeny with Brownian motion evolution process. Sigma is currently set to 0.1 as default.
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.
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
1 2 3 | tree <- geiger::sim.bdtree(b=0.1, d=0, stop="taxa", n=50)
results <- evolveTraits(tree)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.