Skip to content

dirichletprocess

0.4.2Package record

Build Dirichlet Process Objects for Bayesian Modelling

2packages depend
9.1Kdownloads / year
93.2%test coverage
11/13flavors OK

Overview

About

Perform nonparametric Bayesian analysis using Dirichlet processes without the need to program the inference algorithms. Utilise included pre-built models or specify custom models and allow the 'dirichletprocess' package to handle the Markov chain Monte Carlo sampling. Our Dirichlet process objects can act as building blocks for a variety of statistical models including and not limited to: density estimation, clustering and prior distributions in hierarchical models. See Teh, Y. W. (2011) https://www.stats.ox.ac.uk/~teh/research/npbayes/Teh2010a.pdf, among many other sources.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Dean Markwick <dean.markwick@talk21.com>’

Found the following (possibly) invalid file URIs:
  URI: Gordon.Ross@ed.ac.uk
    From: inst/doc/dirichletprocess.pdf
  URI: dean.markwick.15@ucl.ac.uk
    From: inst/doc/dirichletprocess.pdf

CRAN check page ↗

Slowest check: 2.8 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.4.2
READMEYes · 194 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · does not mention 0.4.2Citation fileNoWebsiteYes · pkgdown
Help pages
57includes a package overview page
Examples that run
100%11 run in a plain check
Exported functions with examples
19%
Documented parameters
100%
Return-value docs
77%
Help pages citing references
7%

Downloads

9.1K
CRAN downloads in the past year
Rank #3,382 · ~25/day · ~759/mo
Daily download trend is not available in this view yet.
1.6K30 days
3.2K90 days
9.1K1 year
Compare downloads with other packages →
Also on117 r2u11 autocran727 conda_forge54 c2d4u

Repository

63Stars
15Forks
10Open issues
3Open PRs
8Releases
226Commits
5Commit identities
rbayesianr-packagemcmcbayesian-inferencebayesian-statisticsdirichlet-process
226 commits · Last activity 2026-08-12 · +1.6% stars, 30d · Default branch at 0.4.2.9000, ahead of CRAN 0.4.2 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
4

Stars over time

2025-08-11 · 602026-10-12 · 63
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/dm13450/dirichletprocess on 2026-10-11.

Continuous integration (3)
GitHub ActionsR CMD check workflowAppVeyor

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-08-12

Coverage (1)
Coverage reporting
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing dirichletprocess adds 19 packages (9 with compiled code, 15 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

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

Datasets

People & History

People (5)
Author, Maintainer since 0.2.0 (2018)
Contributor · added in 0.4.1
Contributor · added in 0.2.2
Contributor · added in 0.4.0
Releases (9)

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
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.2Latest
    record
    2023-08-25 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.1
    record
    2023-03-10 · diff ↗ ·
    added 3 exports
    DirichletProcessGaussianFixedVariance, GaussianFixedVarianceMixtureCreate, PriorClusters
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.0
    record
    2020-06-13 · diff ↗ ·
    added 3 exports
    DirichletProcessHierarchicalMvnormal2, HierarchicalMvnormal2Create, true_cluster_labels
  • R
    R 4.0.0 released · 2020-04-24
  • 0.3.1.1
    record
    2020-04-03 · diff ↗
  • 0.3.1
    record
    2019-12-11 · diff ↗
  • 0.3.0
    record
    2019-05-03 · diff ↗ ·
    added 11 exports
    AlphaPriorPosteriorPlot, AlphaTraceplot, BetaMixture2Create, Burn, ClusterTraceplot, DiagnosticPlots, DirichletHMMCreate, DirichletProcessBeta2, LikelihoodTraceplot, PenalisedLikelihood, UpdateAlphaBeta
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.2
    record
    2018-11-23 · diff ↗ ·
    added 6 exports
    DirichletProcessMvnormal2, LikelihoodDP, Mvnormal2Create, PosteriorFrame, plot_dirichletprocess_multivariate, plot_dirichletprocess_univariate
  • R
    R 3.5.0 released · 2018-04-23
Show 3 earlier eventsHide 3 earlier events
  • 0.2.1
    record
    2018-04-18 · diff ↗ ·
    added 2 exports
    DirichletProcessExponential, ExponentialMixtureCreate
  • 0.2.0
    record
    2018-01-29
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-01-29
Total releases
9 / 8 yrs
License
GPL-3 OSI
Minimum R
≥ 2.10
Bundled data
0.2 KB / 1 file
Download size
1.0 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dirichletprocess")
Markwick, D., Filippo Fiocchi, J. Ross, G., Mulder, K., & Sighinolfi, G. (2023). dirichletprocess: Build Dirichlet Process Objects for Bayesian Modelling (Version 0.4.2) [Computer software]. https://doi.org/10.32614/CRAN.package.dirichletprocess

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

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