Returns the support of the given parameter.
getParameterSupport(object, id, error = "warn")
Distribution or ParameterSet.
character, id of the parameter to return.
character, value to pass to stopwarn
.
An R6 object of class inheriting from set6::Set
$getParameterSupport(id, error = "warn")
Returns NULL and warning if the given parameter is not in the Distribution, otherwise returns the support of the given parameter as a set6::Set object.
stopwarn
either breaks the code with an error if "error" is given or returns NULL
with warning otherwise.