Learn R Programming

spartan (version 3.0.2)

oat_process_netlogo_result: Takes a Netlogo behaviour space file and performs a robustness analysis from that simulation data

Description

From a Netlogo behaviour space file, extracts the required timepoint information from it, storing this in a Spartan compatible CSV file. This CSV file is then processed using the methods described in oat_csv_result_file_analysis, with A-Test scores determined for each value assigned to each parameter. Once this method has been called, the researcher should use the oat_graphATestsForSampleSize and oat_plotResultDistribution methods to graph the results.

Usage

oat_process_netlogo_result(FILEPATH, NETLOGO_BEHAVIOURSPACEFILE,
  PARAMETERS, BASELINE, PMIN, PMAX, PINC, MEASURES, RESULTFILENAME,
  ATESTRESULTSFILENAME, TIMESTEP)

Arguments

FILEPATH

Location where the behaviour space results can be found

NETLOGO_BEHAVIOURSPACEFILE

The name of the file produced by Netlogo for Parameter Robustness (Technique 2). This is the result file that is analysed.

PARAMETERS

Array containing the names of the parameters for which parameter samples were be generated

BASELINE

Array containing the baseline, or calibrated value, of each parameter.

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.

MEASURES

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

RESULTFILENAME

Name of the results summary file that should be produced when analysing the Netlogo results

ATESTRESULTSFILENAME

File name of the ATests result summary file created by oat_analyseAllParams

TIMESTEP

The timestep of the Netlogo simulation being analysed.