Returns the value of the given parameter.
getParameterValue(object, id, error = "warn")
Distribution or ParameterSet.
character, id of the parameter to return.
character, value to pass to stopwarn
.
The current value of a given parameter as a numeric.
$getParameterValue(id, error = "warn")
Returns NULL and warning if the given parameter is not in the Distribution, otherwise returns the value of the given parameter.
stopwarn
either breaks the code with an error if "error" is given or returns NULL
with warning otherwise.