Learn R Programming

MetaRVM (version 1.0.0)

process_vac_data: Read and prepare vaccination data

Description

This function takes the vaccination schedule given by a data.table and prepares it according to the required structure needed in meta_sim() function

Usage

process_vac_data(vac_dt, sim_start_date, sim_length, delta_t)

Value

A data.table

Arguments

vac_dt

A data.table of vaccination schedule

sim_start_date

A calendar date in the format yyyy-mm-dd

sim_length

Number of calendar days that the simulation runs for

delta_t

Step size in the simulation