Description Usage Arguments Details Value Author(s) See Also Examples
This function will read in a single run and group adolescents by gender and age, and find variable averages
1 | mxc_indrun(home, results, run_number, filename, simulation_length)
|
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 the simulation |
This function will aggregate a run into age and gender groupings, find the averages for the Time and Events variables.This is done by taking the variable values for each gender/age grouping and finding the means, for each of these. The Gender age groupings processed are m6-9yrs, f6 - 9yrs, m10-15yrs, f10-15yrs, m15-18yrs, f15-18yrs, as well as male overall, and female overall and all overall.
A file formatted, with required groupings and ages for the variables of interest.
Sindiso Nyathi
mxc_master
, mxc_mulruns
, mxc_dealsd
1 2 | mxc_indrun(home, mxc_run2.csv, 2, "Baseline", 5)
mxc_indrun(home, mxc_run34.csv, 34, "Intervention 1", 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.