View source: R/geiger_functions.R
sig2BM | R Documentation |
The function computes rate of phenotypic evolution along a phylogeny assuming Brownian Motion model of evolution.
sig2BM(tree,y)
tree |
a phylogenetic tree. The tree needs not to be ultrametric and fully dichotomous. |
y |
either a single vector variable or a multivariate dataset. In any
case, |
The Brownian Motion rate of phenotypic evolution for each variable in y
.
Pasquale Raia, Silvia Castiglione
### Univariate data ###
data(DataCetaceans)
DataCetaceans$treecet->treecet
DataCetaceans$masscet->masscet
sig2BM(tree=treecet,y=masscet)
### Multivariate data ###
data(DataUng)
DataUng$treeung->treeung
DataUng$PCscoresung->PCscores
sig2BM(tree=treeung,y=PCscores)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.