Learn R Programming

spartan (version 3.0.2)

aa_sampleSizeSummary_overTime: Determines median and maximum A-Test score for each sample size over time

Description

Determines median and maximum A-Test score for each sample size over time

Usage

aa_sampleSizeSummary_overTime(FILEPATH, SAMPLESIZES, MEASURES,
  SUMMARYFILENAME, ATESTRESULTS_FILE = NULL,
  ATESTRESULTS_OBJECT = NULL, TIMEPOINTS = NULL,
  TIMEPOINTSCALE = NULL)

Arguments

FILEPATH

Directory where the results of the simulation runs, in folders or in single CSV file format, can be found

SAMPLESIZES

The sample sizes chosen (i.e. in our case, this would be an array containing 1,5,50,100,300,800

MEASURES

An array containing the names of the simulation output measures to be analysed.

SUMMARYFILENAME

Name of the file generated that lists the maximum and median A-Test results for each sample size.

ATESTRESULTS_FILE

The name of a CSV file containing the A-Test results calculated by aa_getATestResults, if reading from a CSV file.

ATESTRESULTS_OBJECT

The name of an R object containing the A-Test results calculated by aa_getATestResults, if not reading from a CSV file

TIMEPOINTS

Implemented so this method can be used when analysing multiple simulation timepoints. If only analysing one timepoint, this should be set to NULL. If not, this should be an array of timepoints, e.g. c(12,36,48,60)

TIMEPOINTSCALE

Implemented so this method can be used when analysing multiple simulation timepoints. Sets the scale of the timepoints being analysed, e.g. "Hours"