This function is a used by
apply, all within
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.
Value of the state (e.g., which of a number of faces on a die, or number of different size classes of geographic range)
Lambda parameter (Harte2011).
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
Z, numeric value
Nicholas J. Matzke firstname.lastname@example.org
1 2 3 4
testval=1 n=6 lambda1 = 0.5 calcZ_part(n, lambda1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.