Arbor
Arbor docs

aceArbor : function


collection: ancestralStates


Overview

aceArbor is a function for carrying out ancestral state reconstruction. It works for both discrete and continuous variables, and can reconstruct ancestral character states under both a maximum-likelihood and a Bayesian framework. The function returns results in two formats: a table of ancestral state estimates for each node in the tree, and a plot of the results.

Example

From the docs page, get anolis.phy and anolis.csv. Load these files into Arbor, and use them as inputs to the aceArbor function. Choose the “ecomorph” column for analysis, and select type: discrete and method: marginal.

Arguments

Outputs

Function outputs a table and a plot with results of the ancestral state reconstruction.

References