demo_cdf_SEG: Extinction risk demo: Stochastic Exponential Growth model

Description Usage Details Value

View source: R/demo_cdf_SEG.R

Description

A Shiny demo of extinction risk under the SEG model. The user can set the mean log growth rate, the variance of the log growth rate, the initial population size, the quasi-extinction population size, and the length of simulation. The number of replicate simulations can also be changed.

Usage

1

Details

A single graph is produced, showing the cumulative disribution function (CDF) of (quasi-) extinction risk.

The simulations update immediately when you change any parameter value. The updates are fast because new random numbers are calculated only if the simulation length or number of replicates is changed.

Value

Nothing is returned; the commmand is run for its side effect of launching a shiny app. You will have to close the shiny window or hit the Stop button in the console to get the console prompt back.


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