Learn R Programming

phytools (version 2.3-0)

fitmultiBM: Fits bounded and wrapped Brownian motion models

Description

Fits a multi-rate discrete-state-dependent Brownian motion model using the discrete approximation of Boucher & Demery (2016).

Usage

fitmultiBM(tree, x, y=NULL, model="ER", ncat=1, ...)

Value

An object of class "fitmultiBM".

Arguments

tree

object of class "phylo".

x

continuous character data in a vector.

y

optional discrete character, normally in the form of a factor or character vector.

model

discrete character evolution model. (E.g., "ER", "SYM", "ARD".)

ncat

number of rate categories (if hidden rates).

...

optional arguments.

Author

Liam Revell liam.revell@umb.edu

Details

Optional arguments.

References

Boucher, F. C., and V. Demery (2016) Inferring bounded evolution in phenotypic characters from phylogenetic comparative data. Systematic Biology, 65, 651-661.

Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.

See Also

bounded_bm, brownie.lite, fitMk