entropy_d | R Documentation |
This function calculates Demetrius' entropy from vectors of age-specific
survivorship (lx
) and fecundity (mx
).
entropy_d(lx, mx, ...)
lx |
Either a survivorship trajectory (a vector of monotonically-declining values in the interval [0,1]), or submatrix U from a matrix population model. |
mx |
Either an age-specific fecundity trajectory (a vector of non-negative values), or submatrix U from a matrix population model. |
... |
Additional variables passed to 'mpm_to_lx' and 'mpm_to_mx' if the data are supplied as matrices. |
Demetrius' entropy.
Note that this function may produce unexpected results if
used on partial survivorship and fecundity trajectories. In addition, it is
sensitive to the length of the these vectors. We direct users to the
functions 'shape_surv
' and 'shape_rep
' which
are relatively robust to these issues.
Roberto Salguero-Gomez <rob.salguero@zoo.ox.ac.uk>
Patrick Barks <patrick.barks@gmail.com>
Demetrius, L., & Gundlach, V. M. 2014. Directionality theory and the entropic principle of natural selection. Entropy 16: 5428-5522.
Other life history traits:
entropy_k()
,
gen_time()
,
life_expect_mean()
,
longevity()
,
net_repro_rate()
,
repro_maturity
,
shape_rep()
,
shape_surv()
data(mpm1)
# derive trajectories of lx and mx, starting from stage 2
lx <- mpm_to_lx(mpm1$matU, start = 2)
mx <- mpm_to_mx(mpm1$matU, mpm1$matF, start = 2)
# calculate Demetrius' entropy
entropy_d(lx, mx)
# calculate Demetrius' entropy directly from MPM
entropy_d(lx = mpm1$matU, mx = mpm1$matF, start = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.