get_ML_probs.
get_infprobs_of_simstates(relprobs_matrix, simhist_row)bears_2param_standard_fast or a
similar function. The user should specify WHICH matrix in
the results_object -- i.e., scaled conditional
likelihoods on downpass or uppass, or actual marginal
probabilities of ancestral states. (The latter is the
main thing of interest.) This specification is done via
e.g. relprobs_matrix =
results_object$relative_probs_of_each_state_at_branch_top_AT_node_DOWNPASS..simulated_states_by_node_txt.infprobs_of_simstates The probability of each
state at each node (all 1s and 0s).
Matzke_2012_IBS
simulate_biogeog_history,
infprobs_to_probs_of_each_area