extRiskRicker: Calculate a CDF of quasi-extinction risk for the Ricker model

Description Usage Arguments Value

View source: R/extRiskRicker.R

Description

Calculate a CDF of quasi-extinction risk for the Ricker model

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
extRiskRicker(
  r,
  K,
  sigma2,
  time_horizon,
  N0,
  nsims = 1000,
  Nx = NULL,
  d = log(N0/Nx)
)

Arguments

r

the low-density growth rate

K

the equilibrium density

sigma2

the variance of the log growth rates

time_horizon

number of years to simulate

N0

initial population size

nsims

number of simulations

Nx

quasi-extinction threshold

d

the difference between log(N0) and log(Nx). Either specify d or specify Nx

Value

A data frame with columns Time and CDF Some error checking:


BruceKendall/PVA documentation built on Jan. 23, 2021, 2:56 a.m.