agents_init: Initialize agent data frame for simulation input

Description Usage Arguments Value

View source: R/agent_fxns.R

Description

Initialize agent data frame for simulation input

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
agents_init(
  inc_assignments,
  mod_assignments,
  inc_info,
  time = 1,
  leads,
  p_overhead_leads,
  R_init = 0,
  I_init = 0,
  vax_init = 0,
  vax_efficacy = 0.95
)

Arguments

inc_assignments

Daily incident assignment data

mod_assignments

Daily module assignment data

inc_info

Incident information for a whole season

time

Which day of the season should the agents start on

leads

Number of leads each module should have

p_overhead_leads

Proportion of overhead modules that should be leaders

R_init

Proportion of the population that has already recovered

I_init

Proportion of the population that enters the season infected

vax_init

Proportion of the population that enters the season vaccinated

vax_efficacy

What proportion of those vaccinated actually become immune

Value

Initialized agent data frame ready for simulation


jakedilliott/covidfireMASS documentation built on Dec. 20, 2021, 8:59 p.m.