renewal_plot: Plot the solution to the renewal equation solution for...

Description Usage Arguments Value

View source: R/CMJ-plotting-functions.R

Description

This function plots the numerical soution to the renewal equation for a CMJ process using the properties of the triple (λ_{χ}, ξ_χ, χ). See appendix C of Branching Processes in Biology by Kimmel and Axelrod for more details. Z = G(t) + \int_0^t Z(t - u)\,mu(du)

Usage

1
2
3
4
5
6
7
8
renewal_plot(
  Lambda = 0.11,
  mu = 1.5,
  A = 5.5,
  B = 0.85,
  Time = 100,
  type = "Total"
)

Arguments

Lambda

The arrival rate of infectious interactions.

mu

The average number infected per infectious interaction

A

The shape parameter of the communicable preiod gamma function.

B

The rate parameter of the communicable preiod gamma function.

Time

The end of the time interval of interest [0,T].

type

The type or random characteristic Total for total infected Infectious for currently infected

Value

A plot showing the solution of the renewal equation with the malthusian parameter.


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