Returns some or all the parameters in a distribution.

parameters(object, id = NULL)

Arguments

object

Distribution or ParameterSet.

id

character, see details.

Value

An R6 object of class ParameterSet or a data.table.

Details

If id is given and matches a parameter in the distribution, the parameter is returned with all details. If id is given but doesn't match a parameter, an empty data.table is returned. Finally if id is not given, returns self.

R6 Usage

$parameters(id = NULL)

See also