Description Usage Arguments Value
View source: R/classification.R
Calls model_lhood
on each model and takes the average (assumes
equal prior/mixing weights)
1 | marginal_model_lhood(mods, data, log = TRUE, ...)
|
mods |
list of models in mixture. |
data |
matrix with observations in rows and dimensions in columns |
log |
=TRUE returns log likelihood (default) |
... |
additional arguments passed model_lhood (mvtnorm::dmvnorm) |
vector with marginal likelihood for each row in data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.