View source: R/static_sn_infs.R
Simulation of outbreak in static network
1 2 3 4 | sim_outbreak_static_sn(N = 10000, gamma = 1.8, k0 = 0.5,
phi = 10000, n_infs = 1, beta = 1, psi = 1, sigma = 1,
nu = 1, eta = 1, mu = 1, rho = 0, t = 1, max.iter = 1e+06,
sn = 0)
|
N |
network size |
gamma |
exponent of power law distribution |
k0 |
parameter controlling proportion of unpartnered |
phi |
parameter controlling relationship turnaround rate |
n_infs |
number of initially infected individuals |
beta |
rate of transmission per partnership |
psi |
proportion of infections becoming symptomatic |
sigma |
reciprocal of duration of incubation period |
nu |
reciprocal of duration of carriage |
eta |
rate of screening when asymptomatic |
mu |
reciprocal of time to seeking treatment |
rho |
reciprocal of time to recovery following treatment |
t |
duration of outbreak simulation |
max.iter |
maximum number of Gillespie iterations |
sn |
sexual network, if pre-computed |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.