R/method_process_definition.R
def_parameters.Rd
Parameters can be defined using dynparam::dynparam()
.
def_parameters(..., parameters = NULL, forbidden = NULL)
... | Parameters to wrap in a parameter set. |
---|---|
parameters | A list of parameters to wrap in a parameter set. |
forbidden | States forbidden region of parameter via a character vector, which will be turned into an expression. |
library(dynparam) def_parameters( character_parameter(id = "method", default = "one", values = c("one", "two", "three")), integer_parameter( id = "ndim", default = 3L, distribution = uniform_distribution(lower = 2L, upper = 20L) ), numeric_parameter( id = "beta", default = 0.005, distribution = expuniform_distribution(lower = 1e-10, upper = 1) ) )#> method | type=character | domain={one, two, three} | default=one #> ndim | type=integer | domain=U(2, 20) | default=3 #> beta | type=numeric | domain=e^U(-23.03, 0.00) | default=0.005