Skip to contents

Simulate branching processes

simulate_chain_stats()
Simulate a vector of transmission chains statistics (sizes/lengths)
simulate_chains()
Simulate transmission chains

Calculate (log)likelihoods

likelihood()
Estimate the log-likelihood/likelihood for observed branching processes

Methods for internal classes

epichains class

aggregate(<epichains>)
Aggregate cases in <epichains> objects by "generation" or "time", if present
summary(<epichains>)
Summary method for <epichains> class
print(<epichains>)
Print an <epichains> object
head(<epichains>) tail(<epichains>)
head and tail method for <epichains> class

epichains_summary

summary(<epichains_summary>)
Summary method for <epichains_summary> class
print(<epichains_summary>)
Print an <epichains_summary> object

Special distributions

dborel()
Density of the Borel distribution
rborel()
Generate random numbers from the Borel distribution
rgborel()
Generate random numbers from a Gamma-Borel mixture distribution

Miscellaneous

Data

Data stored in the package

covid19_sa
COVID-19 Data Repository for South Africa