Calculate basic reproduction number R0
Arguments
- S
A matrix of state transition rates between and removal from the susceptible states in the absence of colonized individuals
- C
A matrix of state transition rates between and removal from the colonized states
- A
A matrix describing transitions from susceptible to colonized states at acquisition
- transm
A vector of transmission rates from each colonized state
- initS
A vector of admission state probabilities to each susceptible state
- mgf
The moment generating function characterizing the time-of-stay-dependent removal hazard