sig2BM {RRphylo} | R Documentation |
Brownian Motion rate computation
Description
The function computes rate of phenotypic evolution along a phylogeny assuming Brownian Motion model of evolution.
Usage
sig2BM(tree,y)
Arguments
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, |
Value
The Brownian Motion rate of phenotypic evolution for each variable in y
.
Author(s)
Pasquale Raia, Silvia Castiglione
Examples
### 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)
[Package RRphylo version 2.8.0 Index]