getMediansSubset: Function used to calculate the median results for those run...

Description Usage Arguments Value

View source: R/spartan_utilities.R

Description

Internal function used to calculate the median set where a simulation has been run a number of times for a given parameter set. Used in all of Techniques 1-4 detailed in the R Journal

Usage

1
2
getMediansSubset(FILEPATH, NUMRUNSPERSAMPLE, measures, resultfilename,
  altfilename = NULL, outputfilecolstart, outputfilecolend)

Arguments

FILEPATH

Where the simulation results can be found

NUMRUNSPERSAMPLE

Number of times the simulation has been run for a parameter set

outputfilecolstart

Number of the column of the CSV file where results commence

outputfilecolend

Number of the column of the CSV file where results end

MEASURES

Names of Simulation output responses

RESULTFILENAME

Name of the simulation result file

ALTFILENAME

Where necessary, name of the alternative result file

Value

Median Simulation responses under the parameter set in the result file


spartan documentation built on May 2, 2019, 9:39 a.m.