Skip to content

BMRMM

1.0.1Package record

An Implementation of the Bayesian Markov (Renewal) Mixed Models

0packages depend
7.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

The Bayesian Markov renewal mixed models take sequentially observed categorical data with continuous duration times, being either state duration or inter-state duration. These models comprehensively analyze the stochastic dynamics of both state transitions and duration times under the influence of multiple exogenous factors and random individual effect. The default setting flexibly models the transition probabilities using Dirichlet mixtures and the duration times using gamma mixtures. It also provides the flexibility of modeling the categorical sequences using Bayesian Markov mixed models alone, either ignoring the duration times altogether or dividing duration time into multiples of an additional category in the sequence by a user-specific unit. The package allows extensive inference of the state transition probabilities and the duration times as well as relevant plots and graphs. It also includes a synthetic data set to demonstrate the desired format of input data set and the utility of various functions. Methods for Bayesian Markov renewal mixed models are as described in: Abhra Sarkar et al., (2018) doi:10.1080/01621459.2018.1423986 and Yutong Wu et al., (2022) doi:10.1093/biostatistics/kxac050.

Install

Health

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

none known

Documentation

In release 1.0.1
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
8
Examples that run
100%6 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
25%

Downloads

7.6K
CRAN downloads in the past year
Rank #6,775 · ~21/day · ~634/mo
Daily download trend is not available in this view yet.
44530 days
1.3K90 days
7.6K1 year
Compare downloads with other packages →
Also on79 r2u20 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing BMRMM adds 17 packages (11 with compiled code, 16 MB of source tarballs). Heaviest: fields 3.9 MB, spam 3.1 MB, maps 2.2 MB.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.0.1 (2021)
Author · added in 0.0.2
Releases (5)

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
  • 1.0.1Latest
    record
    2024-04-22 · current release · diff ↗
  • 1.0.0
    record
    2023-06-19 · diff ↗ ·
    removed 10 exports
    get_duration_diagnostic_plots, get_estimated_post_mean_and_sd, get_global_test_results, get_histogram_by_component, get_histogram_with_post_mean, get_lpml_waic_scores, get_mixture_params, get_mixture_probs_by_cov, get_tp_diagnostic_plots, get_tp_local_test_results
    added 2 exports
    diag.BMRMM, model.selection.scores
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0.3
    record
    2023-01-21 · diff ↗
  • 0.0.2
    record
    2023-01-06 · diff ↗ ·
    removed 2 exports
    get_heatmap_by_cov, get_heatmap_mix_param
    added 2 exports
    get_mixture_params, get_mixture_probs_by_cov
  • R
    R 4.2.0 released · 2022-04-22
  • 0.0.1
    record
    2021-11-15
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-11-15
Total releases
5 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.10
Bundled data
100 KB / 2 files
Download size
127 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BMRMM")
Wu, Y., & Sarkar, A. (2024). BMRMM: An Implementation of the Bayesian Markov (Renewal) Mixed Models (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.BMRMM

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

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