Skip to content

Days Alive and Out of Hospital (DAOH) Calculation

0packages depend
1.3Kdownloads / year
53.5%test coverage
13/13flavors OK

Overview

About

Calculates Days Alive and Out of Hospital (DAOH) from administrative admission/discharge/mortality data using three algorithms (nights, days, exact) and three death-handling approaches (midday, midnight, zero). Includes tools for comparing methods (Bland-Altman, ICC, reclassification), and plotting.

Changes in 0.2.6

Changes (default units)

  • DAOH is now reported in **days by default** across the package, for a single consistent and interpretable unit. bland_altman_daoh(), plot_daoh_dist(), daoh_reclassify(), daoh_reclassify_centile(), and daoh_icc() now default to use_pc = FALSE (days); pass use_pc = TRUE for percentage of the period.
  • daoh_summary() gains a use_pc argument (default FALSE, days).
  • **Behaviour change:** code relying on the previous percentage defaults must now pass use_pc = TRUE. For daoh_icc() and daoh_reclassify() the result is unchanged (the statistic is invariant to the per-period rescaling); for bland_altman_daoh(), plot_daoh_dist(), and daoh_summary() the reported values switch from percentage to days.

---

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK6 OK2026-06-20
Advisories

none known

Documentation

In release 0.2.6
READMEYes · 162 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2.6Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
18 (3 internal)includes a package overview page
Examples that run
78%7 run in a plain check · 2 hold no code
Exported functions with examples
50%
Documented parameters
77%
Return-value docs
100%
Help pages citing references
0%

Downloads

1.3K
CRAN downloads in the past year
Rank #11,096 · ~4/day · ~111/mo
Daily download trend is not available in this view yet.
49130 days
93990 days
1.3K1 year
Compare downloads with other packages →
Also on25 r2u12 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
4Releases
8Commits
1Commit identities
8 commits · Last activity 2026-07-06 · The default branch showed an older version (0.2.2) than CRAN on 2026-10-11
Responsiveness
not measured

Releases over time

2026-06-12 · 42026-08-14 · 4
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/davecumin/daoh on 2026-10-11.

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing daoh adds 18 packages (8 with compiled code, 19 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, isoband 1.5 MB.

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

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2026)
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.6Latest
    record
    2026-09-22 · current release · diff ↗
  • 0.1.0
    record
    2026-06-19
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-06-19
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
4.7 KB / 3 files
Download size
137 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("daoh")
Cumin, D. (2026). daoh: Days Alive and Out of Hospital (DAOH) Calculation (Version 0.2.6) [Computer software]. https://doi.org/10.32614/CRAN.package.daoh

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 daoh version 0.2.6 [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