Description Usage Details Value Examples
Make a model object to be passed to dmm.cluster
. If not passed any argurments a conjugate multivariate normal likelihood model with default parameters will be used.
1 |
Depending on what argurments are passed to dmm.model()
either a BaseModel (see dmm.BaseModel
),
a RModel (see dmm.RModel
), or JModel (see dmm.JModel
) will be made.
*NOTE: The use of RModels is not avaible in the current version of jDirichletMixtureModels*
A model object which can be passed to dmm.cluster
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# Example of using a multivariate normal conjugate prior (the default)
model <- dmm.model()
# Example of using a bulit-in conjugate prior
model <- dmm.model(typename, params)
# Using a user specified R functions
model <- dmm.model(pdf_fct, sample_fct, marg_fct, params, isconjugate=TRUE)
# Using a user specified Julia functions located in a .jl file called filename
dmm.addfile(filename)
model <- dmm.model(pdf_name, sample_name, marg_name, params, isconjugate=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.