fitmultiBM {phytools}R Documentation

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, ...)

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.

Details

Optional arguments.

Value

An object of class "fitmultiBM".

Author(s)

Liam Revell liam.revell@umb.edu

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


[Package phytools version 2.3-0 Index]