View source: R/stoch.growth.rate.R
| stoch.growth.rate | R Documentation | 
Calculates the log stochastic growth rate by Tuljapukar's approximation and by simulation
stoch.growth.rate(matrices, prob = NULL, maxt = 50000, verbose = TRUE)
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.  | 
converted Matlab code from Box 7.4 in Morris and Doak (2002)
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  | 
Chris Stubben
Morris, W. F., and D. F. Doak. 2002. Quantitative conservation biology: Theory and practice of population viability analysis. Sinauer, Sunderland, Massachusetts, USA.
stoch.projection to output population sizes from simulation
sgr <- stoch.growth.rate(hudsonia)
sgr
exp(sgr$approx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.