Description Usage Arguments Details Value See Also Examples
model
creates a finite mixture model with given parameters.
1 2 3 4 5 6 7 8 9 10 |
dist |
A character, defining the distribution family. Possible choices
are |
r |
An integer. Defines the vector dimension of a model. Is one for all
univariate distributions and larger than one for |
K |
An integer, defining the number of components in the finite mixture. Must be larger or equal to one. |
weight |
A matrix, containing the weights of the finite mixture model.
The matrix must have dimension |
par |
A list containing the parameter vectors for the finite mixture
distribution. The list can contain more than one named parameter vector.
Depending on the distribution parameters must be defined in the list as
follows: a |
indicmod |
A character defining the indicator model used. For now only
|
indicfix |
A logical. If |
T |
A matrix containing the repetitions in case of a |
This is a constructor that creates a class object and guides the user in regard to the different parameters needed to define a finite mixture model.
An S4 model
object.
model for the class definition
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.