get_medians_for_size_subsets: For a given sample size, get the median results to summarise...

Description Usage Arguments Value

View source: R/aleatory_analysis.R

Description

For a given sample size, get the median results to summarise results for all sets

Usage

1
2
3
get_medians_for_size_subsets(FILEPATH, NUMSUBSETSPERSAMPLESIZE, SAMPLESIZE,
  MEASURES, RESULTFILENAME, ALTFILENAME, OUTPUTFILECOLSTART,
  OUTPUTFILECOLEND)

Arguments

FILEPATH

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

NUMSUBSETSPERSAMPLESIZE

Number of run subsets for this sample size, typically 20

SAMPLESIZE

Current sample size being processed

MEASURES

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

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.

ALTFILENAME

In some cases, it may be relevant to read from a further results file if the initial file contains no results. This filename is set here. In the current version, XML and CSV files can be processed.

OUTPUTFILECOLSTART

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.

OUTPUTFILECOLEND

Column number in the simulation results file where the last output measure is.

Value

Summary statistics for all runs under this sample size


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