Skip to content

dcurves

0.5.1

Decision Curve Analysis for Model Evaluation

2packages depend
34.4Kdownloads / year
96.6%test coverage
13/13checks pass

Overview

About
Maintained by Daniel D. SjobergFirst published 2021-07-205 releasesCRAN page ↗GitHub ↗

Diagnostic and prognostic models are typically evaluated with measures of accuracy that do not address clinical consequences. Decision-analytic techniques allow assessment of clinical outcomes, but often require collection of additional information may be cumbersome to apply to models that yield a continuous result. Decision curve analysis is a method for evaluating and comparing prediction models that incorporates clinical consequences, requires only the data set on which the models are tested, and can be applied to models that have either continuous or dichotomous results. See the following references for details on the methods: Vickers (2006) doi:10.1177/0272989X06295361, Vickers (2008) doi:10.1186/1472-6947-8-53, and Pfeiffer (2020) doi:10.1002/bimj.201800240.

Install

Health

CRAN checks
13OK
Slowest check: 3.5 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.29
96.6%
Coverage · measured lines
93%
Documentation · exports
9
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-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 274 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
91%
Return-value docs
80%
References docs
0%

Downloads

34.4K
CRAN downloads in the past year
Rank #1,975 · ~94/day · ~2.9K/mo
Daily download trend is not available in this view yet.
3.4K30 days
10.9K90 days
34.4K1 year
Compare downloads with other packages →
Also on152 r2u24 autocran

Repository

Repository
44Stars
15Forks
0Open issues
0Open PRs
4Releases
168Commits
4Contributors
rr-packagerstatsdecision-curve-analysis
168 commits · Last activity 2025-11-15 · 0% stars, 30d

Stars over time

2025-04-06 · 412026-07-07 · 44

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/ddsjoberg/dcurves on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (2)
Codecov.covrignore
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (1)
Contributor · added in 0.3.0
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.1Latest
    2025-11-15 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.0
    2024-07-24 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.0
    2022-12-23 · diff ↗
  • 0.3.0
    2022-05-26 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.0
    2021-07-20
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-07-20
Total releases
5 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5
Bundled data
65 KB / 3 files
Download size
337 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dcurves")
Sjoberg, D. D., & Vertosick, E. (2025). dcurves: Decision Curve Analysis for Model Evaluation (Version 0.5.1) [Computer software]. https://doi.org/10.32614/CRAN.package.dcurves

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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

From data release v2026-08-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