Create a new Parameter object.
new_parameter(
name,
status = TRUE,
value = 0,
min_value = 0,
max_value = 100,
step_value = 1,
hide = FALSE,
units = "",
id = uuid::UUIDgenerate()
)
name |
|
---|---|
status |
|
value |
|
min_value |
|
max_value |
|
step_value |
|
hide |
|
units |
|
id |
|
A Parameter object.
# create a new parameter
p <- new_parameter(name = "Spatial clustering")
# print object
print(p)
#> Parameter
#> id: 673021fd-687e-4705-8849-761cd94fab07
#> name: Spatial clustering
#> status: TRUE
#> value: 0