stoch.growth.rate {popbio} | R Documentation |
Log stochastic growth rate
Description
Calculates the log stochastic growth rate by Tuljapukar's approximation and by simulation
Usage
stoch.growth.rate(matrices, prob = NULL, maxt = 50000, verbose = TRUE)
Arguments
matrices |
a |
prob |
a vector of probability weights used by |
maxt |
number of time intervals, default 50000 |
verbose |
Print comment at start of time 1, 10000, 20000, etc. |
Details
converted Matlab code from Box 7.4 in Morris and Doak (2002)
Value
A list with 3 items
approx |
log stochastic growth rate by Tuljapukar's approximation |
sim |
log stochastic growth rate by simulation |
sim.CI |
confindence interval for simulation |
Author(s)
Chris Stubben
References
Morris, W. F., and D. F. Doak. 2002. Quantitative conservation biology: Theory and practice of population viability analysis. Sinauer, Sunderland, Massachusetts, USA.
See Also
stoch.projection
to output population sizes from simulation
Examples
sgr <- stoch.growth.rate(hudsonia)
sgr
exp(sgr$approx)