Learn R Programming

spartan (version 3.0.2)

add_parameter_value_to_file: Iterates through the parameters, adding their sampled value to the netlogo experiment file

Description

Iterates through the parameters, adding their sampled value to the netlogo experiment file

Usage

add_parameter_value_to_file(xml, PARAMETERS, ParameterInfo, LHC_DESIGN,
  SAMPLE, PARAMVALS)

Arguments

xml

Object of the XML file being constructed

PARAMETERS

Parameters specified in the R set-up file, of interest in this experiment

ParameterInfo

Parameters that are being perturbed, and their ranges

LHC_DESIGN

The LHC sample generated for these parameters

SAMPLE

Number of the sample being processed

PARAMVALS

Input of parameter ranges or set values specified by the user

Value

Updated XML object ready for output to file