stoch.growth.rate: Log stochastic growth rate

View source: R/stoch.growth.rate.R

stoch.growth.rateR 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 list with two or more projection matrices, or a matrix with one projection matrix per column, with elements filled by columns

prob

a vector of probability weights used by sample for selecting the projection matrices, defaults to equal probabilities

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)


popbio documentation built on May 29, 2024, 4:35 a.m.