Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_basics_v1.R
This function is a used by get_probvals
,
which calculates the Maximum Entropy (Harte
(2011)) discrete probability distribution of a number of
ordered states (e.g., faces of a 6-sided die) given the
mean of many rolls. Here, this is merely used so that a
single parameter can control the probability distribution
of small versus large descendant areas during
cladogenesis.
1 | calcP_n(n, lambda1, Z)
|
n |
Value of the state (e.g., which of a number of faces on a die, or number of different size classes of geographic range). |
lambda1 |
Lambda parameter (Harte2011). |
Z |
numeric values from |
See also: Maximum Entropy probability distribution for discrete variable with given mean (and discrete uniform flat prior) http://en.wikipedia.org/wiki/Maximum_entropy_probability_distribution
Prob_n
, numeric value of the probability of state
n
.
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster http://en.wikipedia.org/wiki/Maximum_entropy_probability_distribution
Harte2011
Matzke_2012_IBS
calcZ_part
, maxent
,
symbolic_to_relprob_matrix_sp
1 2 3 4 5 | testval=1
n = 6
lambda1 = 0.5
Z = 1
calcP_n(n, lambda1, Z)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.