model_plots: Model visualisations - MAIN FUNCTION

Description Usage Arguments

View source: R/plots.R

Description

TO DO: 1) need to make sure that the denominator is correct and that we are grouping correctly; 2) need to generalise grouping indices 3) Make each country occupy same space in y-axis in heatmap plot This is very much a work in progress. Takes the output of run_simulation and returns a set of incidence curve and heatmaps for per capita incidence by region. Requires data table and ggplot2.

Usage

1
2
3
4
5
model_plots(res, n_ages, n_riskgroups,
  countryFile = "data/countries_intersect.csv",
  latitudeFile = "data/latitudes_intersect.csv",
  regionFile = "data/regions_clean.csv",
  vitalFile = "data/demographic_data_intersect.csv")

Arguments

n_ages

the number of age groups

n_riskgroups

the number of risk groups

countryFile

the full file path to the clean country name file

latitudeFile

the full file path to the clean country latitude file

regionFile

the full file path to the clean country by region file

vitalFile

the full file path to the clean country demography (ie. needs "N") file

the

list of simulation outputs as in run_simulation


jameshay218/vaxedemic documentation built on Jan. 30, 2020, 2:58 a.m.