readthedata: Read the Simpact output files.

Description Usage Arguments Value Examples

View source: R/Misc/Pre.hhohhoMaxARTFinal.Sim/hho.rsimpacthelper.R View source: R/readthedata.R

Description

readthedata imports the .csv files generated by simpact.run in the RSimpactCyan package, and combines them into one list object. This object is in a format that makes subsequent analysis easier.

Usage

1
readthedata(modeloutput)

Arguments

modeloutput

The list object that is produced by simpact.run.

Value

A list, containing dataframes for the output of the model run:

ptable

People in the simulation

rtable

Relationship information

etable

Events

ttable

HIV treatment episodes

itable

Input parameters

ltable

Optional book-keeping log

vltable

HIV viral load information

ftable

Optional Facility log

Examples

1
2
3
cfg <- list()
modeloutput <- RSimpactCyan::simpact.run(configParams = cfg, destDir = "temp")
datalist <- readthedata(modeloutput)

wdelva/RSimpactHelp documentation built on Dec. 26, 2019, 3:42 a.m.