extRiskSEG: Calculate a CDF of quasi-extinction risk for the SEG model

Description Usage Arguments Value

View source: R/extRiskSEG.R

Description

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

Usage

1
2
3
4
5
6
7
8
9
extRiskSEG(
  mu,
  sigma2,
  time_horizon,
  nsims = 1000,
  N0 = NULL,
  Nx = NULL,
  d = log(N0/Nx)
)

Arguments

mu

the mean log growth rate

sigma2

the variance of the log growth rates

time_horizon

number of years to simulate

nsims

number of replicate simulations for estimating the CDF

N0

initial population size

Nx

quasi-extinction threshold

d

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

Value

A data frame with columns Time and CDF


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