sllnorMmix {norMmix} | R Documentation |
Simple wrapper for Log-Likelihood Function or Multivariate Normal Mixture
Description
sllnorMmix()
returns a number, the log-likelihood of the data
x
, given a normal mixture obj
.
Usage
sllnorMmix(x, obj)
Arguments
x |
data |
obj |
an R object of class |
Details
Calculates log-likelihood of a dataset, x, given a normal mixture model;
just a simplified wrapper for llnorMmix
.
Removes functionality in favor of ease of use.
Value
double
. See description.
Examples
set.seed(2019)
x <- rnorMmix(400, MW27)
sllnorMmix(x, MW27) # -1986.315
[Package norMmix version 0.1-1 Index]