restart_hes: uses XPVWRH model run in the absence of vaccination or...

View source: R/onevax_xpvwrh.R

restart_hesR Documentation

uses XPVWRH model run in the absence of vaccination or hesitancy. Saves down the number of individuals in each compartment, and moves a given proportion (hes) of them from the X to the H strata to generate new initial conditions in the presence of hesitancy.

Description

uses XPVWRH model run in the absence of vaccination or hesitancy. Saves down the number of individuals in each compartment, and moves a given proportion (hes) of them from the X to the H strata to generate new initial conditions in the presence of hesitancy.

Usage

restart_hes(
  y,
  n_vax = 6,
  hes = 0,
  n_erlang = 1,
  n_diag_rec = 1,
  branching = FALSE
)

Arguments

y

a transformed model run output

n_vax

an integer indicating the number of vaccine compartments, consistent with the input

hes

proportion of population vaccine hesitant

n_erlang

integer giving the number of transitions that need to be made

n_diag_rec

integer for the number of diagnosis history substrata

branching

boolean to denote if xpvwrh branching model in use

Value

A list of initial conditions to restart a model with n_vax vaccination levels, and a populated hestitant stratum in the given proportion 'hes'


mrc-ide/gonovax documentation built on Dec. 15, 2024, 11:02 a.m.