get_malthusian: A function for obtaining the Malthusian parameter of the CMJ...

Description Usage Arguments Value

View source: R/CMJ-functions.R

Description

A function for obtaining the Malthusian parameter of the CMJ process. It also returns the beta parameter from the asymptotic solution of the renewal equation. Used with the renewal eqaution, it will give the expectation for the instantaneous number infected as a function of time.

Usage

1
get_malthusian(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 Malthusian parameter alpha, and the beta parameter.


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