Learn R Programming

distr6 (version 1.5.2)

setParameterValue: Parameter Value Setter

Description

Sets the value of the given parameter.

Usage

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.