get_extinct_prob: A function for obtaining the extinction probability over all...

Description Usage Arguments Value

View source: R/CMJ-functions.R

Description

A function for obtaining the extinction probability over all time for the process.

Usage

1
get_extinct_prob(a = 10, b = 1, lambda = 0.11, p = 0.5)

Arguments

a

The shape parameter of the gamma life time distribution. Default a =10

b

The rate parameter of the gamma life time distribution. Default b = 1

lambda

The arrival rate of infectious interactions. Default lambda = .11

p

The parameter of the logarithmic distribution for the number of infected during an event. Default p=0.5

Value

The extinction probability.


pspc-data-science/branchsim documentation built on Jan. 19, 2021, 10:10 a.m.