Learn R Programming

spartan (version 3.0.2)

process_parameter_value_if_exists: Process parameter value set if results exist

Description

Process parameter value set if results exist

Usage

process_parameter_value_if_exists(FILEPATH, NUMRUNSPERSAMPLE, MEASURES,
  RESULTFILENAME, ALTERNATIVEFILENAME, OUTPUTCOLSTART, OUTPUTCOLEND,
  PARAMETER, PARAM_VAL, EXP_PARAMS)

Arguments

FILEPATH

Directory where either the simulation runs or single CSV file result can be found

NUMRUNSPERSAMPLE

The number of runs performed for each parameter subset. This figure is generated through Aleatory Analysis

MEASURES

Array containing the names of the output measures which are used to analyse the simulation

RESULTFILENAME

Name of the simulation results file. In the current version, XML and CSV files can be processed. If performing this analysis over multiple timepoints, it is assumed that the timepoint follows the file name, e.g. trackedCells_Close_12.csv.

ALTERNATIVEFILENAME

In some cases, it may be relevant to read from a further results file if he initial file contains no results. This filename is set here.

OUTPUTCOLSTART

Column number in the simulation results file where output begins - saves (a) reading in unnecessary data, and (b) errors where the first column is a label, and therefore could contain duplicates.

OUTPUTCOLEND

Column number in the simulation results file where the last output measure is. Only required if running the first method.

PARAMETER

Name of the parameter currently being analysed

PARAM_VAL

Value of the parameter currently being analysed

EXP_PARAMS

Set of the value of all parameters being examined

Value

medians for this parameter set