Learn R Programming

spartan (version 3.0.2)

plotATestsFromTimepointFiles: Plots the A-Tests for all timepoints being examined

Description

When plotting a time-course analysis, it may be useful to compare results gained at multiple timepoints, and determine the differences in performance over time. This function provides a means of plotting those results

Usage

plotATestsFromTimepointFiles(FILEPATH, PARAMETERS, ATESTRESULTFILENAME,
  ATESTSIGLEVEL, MEASURES, PMIN, PMAX, PINC, TIMEPOINTS)

Arguments

FILEPATH

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

PARAMETERS

Array containing the names of the parameters of which parameter samples will be generated

ATESTRESULTFILENAME

Name of the CSV file containing the A-Test results to be plotted

ATESTSIGLEVEL

Value to plot for a large difference between distributions on this plot

MEASURES

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

PMIN

Array containing the minimum value that should be used for each parameter. Sets a lower bound on sampling space

PMAX

Array containing the maximum value that should be used for each parameter. Sets an upper bound on sampling space

PINC

Array containing the increment value that should be applied for each parameter. For example, a parameter could have a minimum value of 10, and maximum value of 100, and be incremented by 10

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)