Skip to content

Finite Mixture Modeling for Raw and Binned Data

1packages depend
6.3Kdownloads / year
76.1%test coverage
8/13flavors OK

Overview

About

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'.

Changes in 0.2.1
  • 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

CRAN checks
5NOTE8OK
Check messages
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'.

CRAN check page ↗

Slowest check: 3.6 min · r-devel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.1
READMEYes · 33 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.1Citation fileNoWebsitenot declared in DESCRIPTION
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

6.3K
CRAN downloads in the past year
Rank #5,172 · ~17/day · ~524/mo
Daily download trend is not available in this view yet.
56430 days
1.6K90 days
6.3K1 year
Compare downloads with other packages →
Also on389 r2u5 autocran116 c2d4u

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.3.0
Imports (4)
ggplot2graphicsRcppstats
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2017)
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.1Latest
    record
    2024-10-20 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.0
    record
    2021-06-01 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.1
    record
    2018-06-07 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.0
    record
    2017-02-25
  • R
    R 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")
Yu, Y. (2024). mixR: Finite Mixture Modeling for Raw and Binned Data (Version 0.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mixR version 0.2.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy