Learn R Programming

distr6 (version 1.1.0)

update.ParameterSet: Updates a ParameterSet

Description

Updates parameter in a ParameterSet using updateFuncs.

Usage

# S3 method for ParameterSet
update(object, ...)

Arguments

object

ParameterSet

...

ignored, added for S3 consistency

Value

An R6 object of class ParameterSet.

R6 Usage

$update()

Details

In general this method should never need to be called manually by the user as it is internally called in setParameterValue.

The method works by cycling through parameters in a ParameterSet that have non-NA updateFuncs and parses these as expressions, thereby updating their values.

See Also

ParameterSet