Skip to content

flexmix

2.3-21Package record

Flexible Mixture Modeling

15packages dependsuggested by 14
401.9Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

A general framework for finite mixtures of regression models using the EM algorithm is implemented. The E-step and all data handling are provided, while the M-step can be supplied by the user to easily define new models. Existing drivers implement mixtures of standard linear models, generalized linear models and model-based clustering.

Changes in 2.3-21
  • Example code of ExLinear changed to avoid warning.
  • Example code of boot and FLXMRglmfix changed to use donttest instead of dontrun.
  • Ensure that FLXMRmgcv gets the family function from package stats. Thanks to Jürgen Claesen for pointing the issue out.
  • Package lattice is not depended on, but only imported.
  • Modified examples and vignettes to run through smoothly even if checked with _R_CHECK_DEPENDS_ONLY_=true.
  • Changed URLs to use https instead of http.
  • Changed documentation to avoid having exported functions without usage information.
  • A superfluous but incorrect argument specification for xlev in the internal function modelMatrix() dropped. Thanks to Maximilian Scholz for pointing the issue out.

From inst/NEWS.Rd in the release

Install

Health

CRAN checks
13OK
Slowest check: 9.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-27
  • WARNING12 OK, 1 WARNING2026-06-14
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.3-21
READMENoVignettesYes · 4 · dynamicNEWSYes · mentions 2.3-21Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JSS article
Help pages
64 (2 internal)
Examples that run
100%38 run in a plain check (4 of them under a condition)
Exported functions with examples
61%
Documented parameters
97%
Return-value docs
74%
Help pages citing references
41%

Downloads

401.9K
CRAN downloads in the past year
Rank #619 · ~1.1K/day · ~33.5K/mo
Daily download trend is not available in this view yet.
31.6K30 days
93.8K90 days
401.9K1 year
Compare downloads with other packages →
Also on8K r2u224 autocran10.3K conda_forge446 bioconda389 c2d4u

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing flexmix adds 1 package (0 with compiled code, 15 KB of source tarballs). Heaviest: modeltools 15 KB.

Depends (1)
R >= 2.15.0
Imports (10)
graphicsgridgrDeviceslatticemethodsmodeltools (>= 0.2-16)nnetstatsstats4utils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
15direct
58indirect
Depends 3 · Imports 12
Suggested by 14
Show all 29 packagesHide all 29 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (5)
Author, Maintainer since 2.0-2 (2008) · added in 1.1-1
Contributor · added in 2.3-13
Contributor · added in 2.3-13
Contributor · added in 2.3-11

Previously maintained by Friedrich Leisch (0.7-0 to 2.0-1).

Releases (42)

Pick two releases to compare their code metrics.

  • 2.3-21Latest
    record
    2026-08-25 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2.3-20
    record
    2025-02-28 · diff ↗ ·
    added 1 export
    flxglht
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.3-19
    record
    2023-03-16 · diff ↗
  • 2.3-18
    record
    2022-06-07 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 2.3-17
    record
    2020-10-12 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 2.3-15
    record
    2019-02-18 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.3-14
    record
    2017-04-28 · diff ↗ ·
    added 1 export
    FLXMCdist1
Show 59 earlier eventsHide 59 earlier events
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 2.3-13
    record
    2015-01-17 · diff ↗ ·
    added 1 export
    FLXMRglmnet
  • 2.3-12
    record
    2014-09-24 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 2.3-11
    record
    2013-09-27 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 2.3-10
    record
    2013-02-13 · diff ↗
  • 2.3-9
    record
    2013-02-05 · diff ↗ ·
    added 2 exports
    FLXMRcondlogit, FLXMRmultinom
  • 2.3-8
    record
    2012-05-09 · diff ↗ ·
    added 1 export
    initFlexmix
  • R
    R 2.15.0 released · 2012-03-30
  • 2.3-7
    record
    2012-03-21 · diff ↗ ·
    added 1 export
    FLXlogLikfun
  • 2.3-6
    record
    2012-01-12 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 2.3-5
    record
    2011-04-24 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 2.3-4
    record
    2011-02-28 · diff ↗
  • 2.3-3
    record
    2011-01-24 · diff ↗
  • 2.3-2
    record
    2011-01-08 · diff ↗
  • 2.3-1
    record
    2010-12-21 · diff ↗ ·
    added 2 exports
    boot, LR_test
  • 2.2-11
    record
    2010-11-22 · diff ↗ ·
    added 2 exports
    FLXgetDesign, FLXgetParameters
  • 2.2-10
    record
    2010-11-03 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • 2.2-9
    record
    2010-10-11 · diff ↗ ·
    added 5 exports
    existGradient, FLXgradlogLikfun, FLXMRmgcv, FLXreplaceParameters, refit_optim
  • 2.2-8
    record
    2010-08-06 · diff ↗ ·
    added 1 export
    group
  • 2.2-7
    record
    2010-06-25 · diff ↗ ·
    added 1 export
    FLXMRlmmc
  • 2.2-6
    record
    2010-06-01 · diff ↗ ·
    added 1 export
    FLXMCnorm1
  • R
    R 2.11.0 released · 2010-04-22
  • 2.2-5
    record
    2010-02-26 · diff ↗ ·
    added 1 export
    FLXMCfactanal
  • 2.2-4
    record
    2009-12-16 · diff ↗ ·
    added 2 exports
    FLXMRlmer, FLXMRlmm
  • R
    R 2.10.0 released · 2009-10-26
  • 2.2-3
    record
    2009-05-29 · diff ↗ ·
    added 2 exports
    FLXdist, FLXMCmvcombi
  • R
    R 2.9.0 released · 2009-04-17
  • R
    R 2.8.0 released · 2008-10-20
  • 2.2-0
    record
    2008-10-03 · diff ↗ ·
    added 3 exports
    ExLinear, FLXMRrobglm, relabel
  • 2.1-0
    record
    2008-05-09 · diff ↗
  • R
    R 2.7.0 released · 2008-04-22
  • 2.0-2
    record
    2008-03-26 · diff ↗
  • R
    R 2.6.0 released · 2007-10-03
  • 2.0-1
    record
    2007-09-11 · diff ↗
  • 2.0-0
    record
    2007-05-03 · diff ↗ ·
    removed 2 exports
    KLdiv, refit
    added 11 exports
    FLXMCmvbinary, FLXMCmvnorm, FLXMCmvpois, FLXPmultinom, FLXPconstant, FLXMRglm, FLXMRglmfix, FLXMRziglm, FLXglmFix, FLXconstant, FLXmultinom
  • R
    R 2.5.0 released · 2007-04-24
  • R
    R 2.4.0 released · 2006-10-03
  • 1.1-2
    record
    2006-05-11 · diff ↗ ·
    added 1 export
    FLXbclust
  • R
    R 2.3.0 released · 2006-04-24
  • 1.1-1
    record
    2005-10-31 · diff ↗ ·
    added 1 export
    FLXfit
  • R
    R 2.2.0 released · 2005-10-06
  • R
    R 2.1.0 released · 2005-04-18
  • 1.1-0
    record
    2005-01-03 · diff ↗ ·
    added 9 exports
    ExNPreg, ExNclus, FLXglm, FLXmclust, KLdiv, flexmix, plotEll, refit, stepFlexmix
  • 1.0-0
    record
    2004-10-19 · diff ↗
  • R
    R 2.0.0 released · 2004-10-04
  • 0.9-2
    record
    2004-10-01 · diff ↗
  • 0.9-0
    record
    2004-04-19 · diff ↗
  • R
    R 1.9.0 released · 2004-04-12
  • R
    R 1.8.0 released · 2003-10-08
  • 0.7-1
    record
    2003-09-03 · diff ↗
  • 0.7-0
    record
    2003-07-09
  • R
    R 1.7.0 released · 2003-04-16

Package metadata

First published
2003-07-09
Total releases
42 / 23 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 2.15.0
Bundled data
40 KB / 16 files
Download size
1.1 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("flexmix")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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 flexmix version 2.3-21 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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