Learn R Programming

distr6 (version 1.4.8)

setParameterValue: Parameter Value Setter

Description

Sets the value of the given parameter.

Usage

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

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.

Value

An R6 object of class ParameterSet.