LGcpp_MLstate_per_node: Get the ML states per node, from a states table

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

View source: R/BioGeoBEARS_readwrite_v1.R

Description

Given a table of states probabilities from either LGcpp_states_fn_to_table or LGcpp_states_fn_to_table, get the ML state for each node.

Usage

1

Arguments

states

A data.frame containing the node numbers, states, and state probabilities.

Details

See get_lagrange_nodenums for connecting these node numbers to APE node numbers.

Value

MLstates A data.frame containing the node numbers, ML states, and state probabilities.

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, LGcpp_states_fn_to_table, LGcpp_states_fn_to_table

Examples

1
test=1

BioGeoBEARS documentation built on May 19, 2017, 6:50 p.m.

Search within the BioGeoBEARS package
Search all R packages, documentation and source code