Create a new collection of Parameter objects.

parameters(...)

Arguments

...

Parameter-class objects.

Value

Parameters-class object.

See also

Examples

# create two Parameter objects p1 <- binary_parameter("parameter one", 1) print(p1)
#> parameter one (1)
p2 <- numeric_parameter("parameter two", 5) print(p2)
#> parameter two (5)
# store Parameter objects in a Parameters object p <- parameters(p1, p2) print(p)
#> <environment: 0x14d70918> #> attr(,"class") #> [1] "Parameters" "pproto" "proto" "environment"