setDist-set-model-method: Setter method of 'model' class.

Description Usage Arguments Value See Also Examples

Description

Sets a value for the dist slot.

Usage

1
2
## S4 replacement method for signature 'model'
setDist(object) <- value

Arguments

object

An model object.

value

A character defining the distribution.

Value

The model object with slot dist set to value.

See Also

Examples

1
2
3
4
# Generate an default mixture model.
f_model <- model()
# Get the slot
setDist(f_model) <- "poisson"

simonsays1980/finmix documentation built on Dec. 23, 2021, 2:25 a.m.