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

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.

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.

R6 Usage

$wrappedModels(model = NULL)

See also