simulateSIR: simulateSIR function, included in this file because of...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

simulateSIR function, included in this file because of difficulty including sample.h in two separate files. Rcpp code to simulate a general stochastic epidemic and binomial counts.

Usage

1
simulateSIR(obstimes, params, init_config)

Arguments

obstimes

vector of observation times

params

vector of parameters: beta, mu

init_config

initial configuration of compartment counts

popsize

population size

Value

updated bookeeping objects


fintzij/BDAepimodel documentation built on Sept. 20, 2020, 1:44 p.m.