mxc_indrun: MxC Indrun

Description Usage Arguments Details Value Author(s) See Also Examples

Description

This function will read in a single run and group adolescents by gender and age find variable averages

Usage

1
mxc_indrun(home, results, run_number, filename, simulation_length)

Arguments

home

Parent directory path.

results

The run .csv file with the adolescents.

run_number

The run number.

filename

String name of file with the runs eg. "Baseline"

simulation_length

Length of th eSimulation

Details

This function will aggregate a run into age and gender groupings, find the averages for the Time and Events variables. Method:As Follows

Value

A file formatted, with required groupings and ages for the variables of interest.

Author(s)

Sindiso Nyathi

See Also

mxc_master, mxc_mulruns, mxc_dealsd

Examples

1
2
mxc_indrun(home, mxc_run2.csv, 2, "Baseline", 5)
mxc_indrun(home, mxc_run34.csv, 34, "Intervention 1", 5)

SindisoNyathi/GOPCMxC documentation built on May 10, 2019, 9:28 a.m.