Sets the value of the given parameter.

setParameterValue(object, ..., lst = NULL, error = "warn", resolveConflicts = FALSE)

Arguments

object

Distribution or ParameterSet.

...

named parameters and values to update, see details.

lst

optional list, see details.

error

character, value to pass to stopwarn.

resolveConflicts

(logical(1))
If FALSE (default) throws error if conflicting parameterisations are provided, otherwise automatically resolves them by removing all conflicting parameters.

Value

An R6 object of class ParameterSet.