Learn R Programming

BioGeoBEARS (version 0.2.1)

get_simparams: Get the simulated model parameters from the row of a table

Description

Basically this function assigns probability 1 to the simulated state/geographic range, and probability 0 for the other states/geographic ranges. These data -- the simulated truth -- can then be compared to the inferred probabilities for the states, from e.g. get_ML_probs.

Usage

get_simparams(simhist_row)

Arguments

simhist_row
A row from a table, which must have a column named simulated_states_by_node_txt.

Value

simparams A list of the parameter values.

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster

Matzke_2012_IBS

See Also

simulate_biogeog_history, infprobs_to_probs_of_each_area

Examples

Run this code
testval=1

Run the code above in your browser using DataLab