spim_prepare_aggregated_data: Prepare aggregated data for plotting

View source: R/simulate_plots.R

spim_prepare_aggregated_dataR Documentation

Prepare aggregated data for plotting

Description

Prepare aggregated real data for plotting

Usage

spim_prepare_aggregated_data(path)

Arguments

path

Path to aggregated rds object containing a named list where names correspond to regions and each element is a list with full data and fitted data

Value

Returns a list where elements correspond to regions and fitted data is removed. Data processing includes: adding deaths column as the sum over all death compartments; fixes when NAs converted to 0s erroneously; and fitted data removed.


mrc-ide/spimalot documentation built on Oct. 15, 2024, 12:15 p.m.