Learn R Programming

norMmix package

This package implements a model fitting algorithm for normal mixture models.

TODO:

  • make init method optional with no default
  • spurious cluster suppression
  • (WIP) add vignette
  • test against windows
  • (WIP) reintroduce functionality for many MLE passes for model selection

Install

On linux machines, using R only:

    git clone https://github.com/TrN000/norMmix.git
    R CMD build norMmix
    R CMD INSTALL norMmix_0.0-2.tar.gz

To build and check the package the following packages are necessary.

    > install.packages(
        c("mvtnorm", "mclust", "sfsmisc", "nor1mix", "testthat",
          "knitr", "rmarkdown", "compositions", "mixtools"))

Copy Link

Version

Install

install.packages('norMmix')

Monthly Downloads

171

Version

0.2-0

License

GPL (>= 3)

Maintainer

Nicolas Trutmann

Last Published

September 9th, 2024

Functions in norMmix (0.2-0)

par2nMm

Transform Parameter Vector to Multivariate Normal Mixture
rnorMmix

Random Sample from Multivariate Normal Mixture Distribution
plot.norMmix

Plot Method for "norMmix" Objects
npar

Degrees of freedom of (Fitted) Multivariate Normal Mixtures
dfnMm

Number of Free Parameters of Multivariate Normal Mixture Models
llnorMmix

Log-likelihood of parameter vector given data
ellipsePts

Compute Points on Bivariate Gaussian Confidence Ellipse
nor1toMmix

Cast nor1mix object as norMmix.
nMm2par

Multivariate Normal Mixture Model to parameter for MLE
ldl

LDL' Cholesky Decomposition
dnorMmix

Density from Multivariate Normal Mixture Distribution
llmvtnorm

Log-Likelihood of Multivariate Normal Mixture Relying on mvtnorm::dmvnorm
norMmixMLE

Maximum Likelihood Estimation for Multivariate Normal Mixtures
sllnorMmix

Simple wrapper for Log-Likelihood Function or Multivariate Normal Mixture
clr1

Centered Log Ratio Transformation and Inverse
norMmix

Constructor for Multivariate Normal Mixture Objects
MarronWand

Marron-Wand-like Specific Multivariate Normal Mixture 'norMmix' Objects