data-raw/model_parameters.R

base_pars <- c("r" = 0.1,
               "K" = 1200,
               "mu_N" = 1/60,
               "sigma" = 1/40,
               "mu_I" = 1/10,
               "mu_W" = 1/(365*3.3),
               "theta" = 500,
               "U" = 1200/10, #Urine produced per individual in uits of 10mL
               "m" = 5.2,
               "v" = 0.08,
               "omega" = 0.01,
               "H" = 1e3,
               "mu_H" = 1/(60*365),
               "alpha" = 2e-4,
               "beta" = 2e-4,
               "cvrg" = 0.43,
               "gamma" = 0.08,
               "xi" = 2.8e-3,
               "a" = 1.10822500, # intensity to clump parameter from fit to S. haematobium data
               "b" = -0.01678877 ) # intensity to clump parameter from fit to S. haematobium data

usethis::use_data(base_pars, overwrite = TRUE)

age_strat_pars <- c(
  ##standard snail parameters
    r=0.10,             # recruitment rate (from sokolow et al)
    mu_N=1/60,          # Mean mortality rate of snails (assuming lifespan of 60days)
    sigma=1/30,         # Transition rate from exposed to infected (assuming pre-patency period of ~4 weeks) doi:10.4269/ajtmh.16-0614
    mu_I=1/10,          # Increased mortality rate of infected snails
    theta=500,          # mean cercarial shedding rate per adult snail doi:10.4269/ajtmh.16-0614

  #Adult Worm, Miracidia and Cercariae Parameters
    mu_W = 1/(4*365),   # death rate of adult worms
    mu_H_A = 1/(50*365),# death rate of adult humans
    mu_H_C = 1/(70*365),# death rate of children
    mu_H = 1/(70*365),  # For non age-stratified
    m = 5.2,             # mean eggs shed per female worm per 10mL urine (truscott et al)
    v = 0.08,           # mean egg viability (miracidia per egg)

  #Density dependence parameters
    gamma = 5e-4,        # parameter of fecundity reduction function
    xi = 2.8e-3,        # parameter for acquired immunity function http://doi.wiley.com/10.1111/j.1365-3024.1992.tb00029.x

  #Human parameters
    U_C = 110,          # mL urine produced per child per day /10mL https://doi.org/10.1186/s13071-016-1681-4
    U = 120, # For non age-stratified
    omega_c = 0.01,       # amount of infectious material that reaches snail environment
    omega = 0.01,    # For non age-stratified
    U_A = 130           # mL urine produced per adult per day /10mL https://doi.org/10.1186/s13071-016-1681-4
)

usethis::use_data(age_strat_pars, overwrite = TRUE)


garch_pars <- c(
  beta_e = 4.06e-5, #environmental reservoir to human transmission rate
  beta_d = 0, #human to human transmission rate
  gamma = 1/(365*3), #rate of recover from infected to susceptible
  omega = 0, #recruitment of infectious agents not dependent on human infection (exogenous propogules)
  V = 1, #abundance of vectors/intermediate hosts/suitable environment for transmission
  lambda = 1, #recruitment rate of infectious agents by infectious individuals
  sigma = 1, #fraction of infectious agents produced that reach the environment
  rho = 1/90 #mortality rate of infectious agents in the environment
)

usethis::use_data(garch_pars, overwrite = TRUE)
cmhoove14/DDNTD documentation built on Nov. 23, 2019, 7:04 p.m.