Learn R Programming

BioGeoBEARS (version 0.2.1)

get_MLsplitprobs_from_results: Extract the ML probs for the base of each branch above a split

Description

This function takes a BioGeoBEARS results_object from a ML search, extracts the downpass and uppass likelihoods of the data for each possible state at the base of each left and right branch, and produces the ML ancestral split estimates for the bottom of each branch.

Usage

get_MLsplitprobs_from_results(results_object)

Arguments

results_object
The results from a BioGeoBEARS ML search.

Value

results_object with results_object$ML_marginal_prob_each_split_at_branch_bottom_BELOW_node added

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster https://code.google.com/p/lagrange/

Matzke_2012_IBS

ReeSmith2008

See Also

get_lagrange_nodenums, LGpy_splits_fn_to_table, LGcpp_splits_fn_to_table

Examples

Run this code
test=1

Run the code above in your browser using DataLab