| Parameter-class {oppr} | R Documentation |
Parameter class
Description
This class is used to represent a parameter that has multiple values. Each value has a different label to differentiate values. Only experts should interact directly with this class.
Fields
- $id
Id()identifier for parameter.- $name
charactername of parameter.- $value
numericvectorof values.- $default
numericvectorof default values.- $class
charactername of the class that the values inherit from (e.g."integer".- $lower_limit
numericvectorspecifying the minimum permitted value for each element in$value.- $upper_limit
numericvectorspecifying the maximum permitted value for each element in$value.- $widget
functionused to construct ashiny::shiny()interface for modifying values.
Usage
x$print()
x$show()
x$reset()
Details
print the object.
- show
show the object.
- reset
change the parameter values to be the default values.
See Also
[Package oppr version 1.0.4 Index]