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

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/BioGeoBEARS_readwrite_v1.R

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

1

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

Note

Go BEARS!

Author(s)

Nicholas J. Matzke matzke@berkeley.edu

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

1
test=1

Example output

Loading required package: rexpokit
Loading required package: SparseM

Attaching package: 'SparseM'

The following object is masked from 'package:base':

    backsolve

Loading required package: Rcpp
Loading required package: cladoRcpp
Loading required package: ape
Loading required package: phylobase

Attaching package: 'phylobase'

The following object is masked from 'package:ape':

    edges

BioGeoBEARS documentation built on May 29, 2017, 8:36 p.m.