Learn R Programming

spartan (version 3.0.2)

prepare_parameter_value_list: Prepares the parameter value list, as either an interval range or specific values can be supplied

Description

When iterating through parameter values, we need to do a bit of prep, as there are two ways these values can be specified (increment and specified in a list). This returns a list of the values for both specifications, so these can be iterated through without issue

Usage

prepare_parameter_value_list(PMIN, PMAX, PINC, PARAMVALS, PARAM_OF_INT)

Arguments

PMIN

Vector of the minimum values for each parameter

PMAX

Vector of the maximum values for each parameter

PINC

Vector of the sample increment value for each parameter

PARAMVALS

Vector of the sampling values specified for each parameter, rather than an incremental sequence

PARAM_OF_INT

The current parameter being analysed