Directly Adjusted Estimates
Overview
Compute estimates and confidence intervals of weighted averages quickly and easily. Weighted averages are computed using data.table for speed. Confidence intervals are approximated using the delta method with either using known formulae or via algorithmic or numerical derivation.
directadjusting::directly_adjusted_estimates
directadjusting::directly_adjusted_estimates argument adjust_col_nms is
now automatically
determined based on weights if weights is a data.frame /
data.table.
directadjusting::directly_adjusted_estimates
directadjusting::directly_adjusted_estimates can now handle weights
data.table with more than one column containing weights, e.g.
weight_europe, weight_world.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 3 (1 internal)includes a package overview page
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- not measured
Forks over time
Releases over time
Issues over time
Commits over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/finnishcancerregistry/directadjusting on 2026-10-21.
The R CMD check workflow runs on Linux
Dependencies
Installing directadjusting adds 1 package (1 with compiled code, 5.7 MB of source tarballs). Heaviest: data.table 5.7 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.7.0Latest
- RR 4.6.0 released · 2026-04-24
- 0.6.12026-02-04
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-02-04
- Total releases
- 2 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Download size
- 17 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("directadjusting")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.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.