Learn R Programming

distr6 (version 1.1.0)

wrappedModels: Gets Internally Wrapped Models

Description

Returns either a list of all the wrapped models or the models named by parameters.

Usage

wrappedModels(object, model = NULL)

Arguments

object

Distribution.

model

character, see details.

Value

If model is NULL then returns list of models that are wrapped by the wrapper. Otherwise returns model given in model.

R6 Usage

$wrappedModels(model = NULL)

Details

Accessor for internally wrapped models. If the model parameter is matched by a single named wrapped model, this model is returned. If a vector is supplied to model parameter then a list of internal models is returned if matched, otherwise a list of all internal models is returned. If model is NULL (default) then a list of all internal models are returned.

See Also

DistributionWrapper