G: A function for the expecation for the number of individuals...

Description Usage Arguments Value

View source: R/CMJ-functions.R

Description

A function for the expecation for the number of individuals existing in the process at moment t. Used with the renewal equation, it will give the expectation for the instantaneous number infected as a function of time.

Usage

1
G(A = 10, B = 1)

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

Value

A function G(t) = 1 - F(t); F(t) is the life-time distribution.


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