Finite Mixture Modeling for Raw and Binned Data
Overview
Performs maximum likelihood estimation for finite mixture models for families including Normal, Weibull, Gamma and Lognormal by using EM algorithm, together with Newton-Raphson algorithm or bisection method when necessary. It also conducts mixture model selection by using information criteria or bootstrap likelihood ratio test. The data used for mixture model fitting can be raw data or binned data. The model fitting process is accelerated by using R package 'Rcpp'.
- fixed an error and a note in CRAN package check results
- removed the vignette in the previous version as examples can be found in
paper https://joss.theoj.org/papers/10.21105/joss.04031
- removed a test file which caused an error when running R check
From NEWS.md in the release
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: mixR/tests/testthat/test_density.R (.Dim: 12, .Dimnames: 3) mixR/tests/testthat/test_main.R (.Dim: 6, .Dimnames: 6) '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 25includes a package overview page
- Examples that run
- 100%21 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 8%
Downloads
Dependencies
Installing mixR adds 18 packages (8 with compiled code, 15 MB of source tarballs). Heaviest: ggplot2 6.0 MB, Rcpp 1.8 MB, isoband 1.5 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.2.1Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.02021-06-01 · diff ↗
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.1.12018-06-07 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.1.02017-02-25
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2017-02-25
- Total releases
- 4 / 9 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.3.0
- Bundled data
- 1.4 KB / 2 files
- Download size
- 58 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mixR")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.