Skip to content

mederrRank

0.1.0

Bayesian Methods for Identifying the Most Harmful Medication Errors

0packages depend
2.2Kdownloads / year
test coverage
0/13checks pass

Overview

About
Maintained by Sergio VenturiniFirst published 2012-10-294 releasesCRAN page ↗

Two distinct but related statistical approaches to the problem of identifying the combinations of medication error characteristics that are more likely to result in harm are implemented in this package: 1) a Bayesian hierarchical model with optimal Bayesian ranking on the log odds of harm, and 2) an empirical Bayes model that estimates the ratio of the observed count of harm to the count that would be expected if error characteristics and harm were independent. In addition, for the Bayesian hierarchical model, the package provides functions to assess the sensitivity of results to different specifications of the random effects distributions.

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 1.1 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
None
Vignettes
Yes
README
6
Dependencies · direct
Check history
  • NOTE2026-06-09
    0 OK · 13 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    0 OK · 12 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

2.2K
CRAN downloads in the past year
Rank #20,981 · ~6/day · ~183/mo
Daily download trend is not available in this view yet.
23330 days
57190 days
2.2K1 year
Compare downloads with other packages →
Also on93 r2u8 autocran

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (4)
BBmethodsnumDerivutils
Imports (2)
graphicsstats
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
Rd 1,472 (62%)R 912 (38%)
Code characteristics
Object systems
S4 class3S4 method8
Cyclomatic complexity
2.0 median / 14 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

22 0 exported

Complexity

3.6 avg / 14 max

Call network

22 nodes / 15 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (0)

Author records are not tracked yet for this package.

Release timeline

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

  • 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
  • 0.1.0Latest
    2023-09-05 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 0.0.8
    2015-07-08 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
Show 3 earlier events
  • 0.0.7
    2012-11-17 · diff ↗
  • 0.0.5
    2012-10-29
  • R
    R 2.15.0 released · 2012-03-30

Package metadata

First published
2012-10-29
Total releases
4 / 14 yrs
License
GPL (>= 2) | file LICENSE OSI
Bundled data
42 KB / 2 files
Download size
73 KB
Installed size
not tracked yet
With dependencies
not tracked yet