ChoiceParameter: ChoiceParameter

Description Usage Arguments

Description

A set of parameters, only one of which will be chosen to appear in each Configuration.

Usage

1
2
ChoiceParameter(name, choices, id = NULL, default = NULL,
  optional = FALSE, include_in_default = TRUE)

Arguments

name

Human-readable name for the parameter, must match argument of scoring function

choices

List of parameters to choose from (cannot be empty).

id

(optional) Unique id for parameter (no spaces allowed)

default

(optional) Initial value for parameter (must be present in the choices list). If not defined, it will be the first item from the list.

optional

(optional) Whether the parameter can be omitted in a Configuration

include_in_default

(optional) Whether an optional parameter will be included in the default Configuration


MindFoundry/optaas-r-client documentation built on May 17, 2019, 7:32 p.m.