Parameter class
Parameter class
Definition for the Parameter class.
id
character
value.
name
character
value.
status
logical
value.
value
numeric
initial value value.
min_value
numeric
minimum value.
max_value
numeric
maximum value.
step_value
numeric
step value.
hide
logical
value.
units
character
value.
new()
Create a new Parameter object.
Parameter$new(
id,
name,
status,
value,
min_value,
max_value,
step_value,
hide,
units
)
id
character
value.
name
character
value.
status
logical
value.
value
numeric
initial value.
min_value
numeric
minimum value.
max_value
numeric
maximum value.
step_value
numeric
step value.
hide
logical
value.
units
character
value.
A new Parameter object.
new()
Create a new Parameter object.
Parameter$new(
id,
name,
status,
value,
min_value,
max_value,
step_value,
hide,
units
)
id
character
value.
name
character
value.
status
logical
value.
value
numeric
initial value.
min_value
numeric
minimum value.
max_value
numeric
maximum value.
step_value
numeric
step value.
hide
logical
value.
units
character
value.
A new Parameter object.
print()
Print the object.
Parameter$print(...)
...
not used.
print()
Print the object.
Parameter$print(...)
...
not used.
repr()
Generate a character
summarizing the representation of the object.
Parameter$repr(start = "[", end = "]")
start
character
symbol used to start the setting list.
Defaults to "["
.
end
character
symbol used to start the setting list.
Defaults to "]"
.
character
value.
repr()
Generate a character
summarizing the representation of the object.
Parameter$repr(start = "[", end = "]")
start
character
symbol used to start the setting list.
Defaults to "["
.
end
character
symbol used to start the setting list.
Defaults to "]"
.
character
value.
get_status()
Get status.
Parameter$get_status()
logical
value.
get_status()
Get status.
Parameter$get_status()
logical
value.
get_value()
Get value.
Parameter$get_value()
numeric
value.
get_value()
Get value.
Parameter$get_value()
numeric
value.
get_setting()
Get setting.
Parameter$get_setting(name)
name
character
setting name.
Available options are "status"
, or "value"
.
Value.
get_setting()
Get setting.
Parameter$get_setting(name)
name
character
setting name.
Available options are "status"
, or "value"
.
Value.
set_status()
Set status.
Parameter$set_status(value)
value
logical
new value.
set_status()
Set status.
Parameter$set_status(value)
value
logical
new value.
set_value()
Set value.
Parameter$set_value(value)
value
numeric
new value.
set_value()
Set value.
Parameter$set_value(value)
value
numeric
new value.
set_setting()
Set setting.
Parameter$set_setting(name, value)
name
character
setting name.
Available options are "status"
, or "value"
.
value
ANY
new value.
set_setting()
Set setting.
Parameter$set_setting(name, value)
name
character
setting name.
Available options are "status"
, or "value"
.
value
ANY
new value.
get_widget_data()
Get data for displaying the parameter in a widget.
Parameter$get_widget_data()
get_widget_data()
Get data for displaying the parameter in a widget.
Parameter$get_widget_data()
export()
Export settings.
Parameter$export()
list
object.
export()
Export settings.
Parameter$export()
list
object.
get_results_data()
Get results data.
Parameter$get_results_data()
data.frame
object.
get_results_data()
Get results data.
Parameter$get_results_data()
data.frame
object.
clone()
The objects of this class are cloneable with this method.
Parameter$clone(deep = FALSE)
deep
Whether to make a deep clone.
clone()
The objects of this class are cloneable with this method.
Parameter$clone(deep = FALSE)
deep
Whether to make a deep clone.