Skip to content

mcmapper

0.0.11

Mapping First Moment and C-Statistic to the Parameters of Distributions for Risk

1packages depend
6.1Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Mohsen SadatsafaviFirst published 2024-11-041 releasesCRAN page ↗

Provides a series of numerical methods for extracting parameters of distributions for risks based on knowing the expected value and c-statistics (e.g., from a published report on the performance of a risk prediction model). This package implements the methodology described in Sadatsafavi et al (2024) doi:10.48550/arXiv.2409.09178. The core of the package is mcmap(), which takes a pair of (mean, c-statistic) and the distribution type requested. This function provides a generic interface to more customized functions (mcmap_beta(), mcmap_logitnorm(), mcmap_probitnorm()) for specific distributions.

Install

Health

CRAN checks
13OK
Slowest check: 39 s · r-release-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 223 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
90%
Return-value docs
100%
References docs
0%

Downloads

6.1K
CRAN downloads in the past year
Rank #8,182 · ~17/day · ~507/mo
Daily download trend is not available in this view yet.
10030 days
1.2K90 days
6.1K1 year
Compare downloads with other packages →
Also on108 r2u1 autocran

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.11Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2024-11-04
Total releases
1 / 2 yrs
License
MIT + file LICENSE OSI
Download size
19 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("mcmapper")

CRAN DOI

https://doi.org/10.32614/CRAN.package.mcmapper

BibTeX, derived from DESCRIPTION

@Manual{mcmapper,
  title  = {mcmapper: Mapping First Moment and C-Statistic to the Parameters of
Distributions for Risk},
  author = {Sadatsafavi, Mohsen},
  year   = {2024},
  note   = {R package version 0.0.11},
  doi    = {10.32614/CRAN.package.mcmapper},
  url    = {https://CRAN.R-project.org/package=mcmapper}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatorymcmapper,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {mcmapper} version 0.0.11},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/mcmapper},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mcmapper version 0.0.11 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/mcmapper

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for mcmapper version 0.0.11
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/mcmapper
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/mcmapper.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

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