Skip to content
This package was removed from CRAN on 2020-01-30. Its history is shown below.
Reason: intermittent check problems were not addressed. Tried to call 'stats::approxfun' with 'zero-NA points'
Details below reflect version 1.5.0, its last release before removal.

Estimation and Testing of Average Hazard Ratios

0packages depend
–downloads / year
–test coverage
–flavors OK

Overview

About

Methods for estimation of multivariate average hazard ratios as defined by Kalbfleisch and Prentice. The underlying survival functions of the event of interest in each group can be estimated using either the (weighted) Kaplan-Meier estimator or the Aalen-Johansen estimator for the transition probabilities in Markov multi-state models. Right-censored and left-truncated data is supported. Moreover, the difference in restricted mean survival can be estimated.

Install

Health

CRAN checks

CRAN check results are not tracked yet.

Advisories

none known

Documentation

In release 1.5.0
READMEYes · 79 wordsVignettesNoNEWSYes · 67% structured · does not mention 1.5.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
16includes a package overview page
Examples that run
100%12 run in a plain check
Exported functions with examples
92%
Documented parameters
82%
Return-value docs
100%
Help pages citing references
56%

Downloads

AHR
Daily download trend is not available in this view yet.
Also on115 c2d4u

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
survival
Imports (4)
statsMASSetmRcpp
LinkingTo (2)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
–indirect (not tracked)

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Author, Maintainer since 1.1 (2015)
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.0.0 released · 2020-04-24
  • archivedRemoved from CRAN
    2020-01-30
    intermittent check problems were not addressed Tried to call 'stats::approxfun' with 'zero-NA points'
  • R
    R 3.6.0 released · 2019-04-26
  • 1.5.0
    record
    2018-12-05 · diff ↗ ·
    added 1 export
    ahrUser
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.4.2
    record
    2016-08-28 · diff ↗
  • 1.4.1
    record
    2016-06-17 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.4
    record
    2016-03-30 · diff ↗
  • 1.3
    record
    2015-10-31 · diff ↗
  • 1.2
    record
    2015-07-04 · diff ↗
  • 1.1
    record
    2015-07-03
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-07-03
Total releases
7 / 11 yrs
License
GPL-3 | file LICENSE OSI

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("AHR")
Brueckner, M. (n.d.). AHR: Estimation and Testing of Average Hazard Ratios (Version 1.5.0) [Computer software]. Retrieved October 26, 2026, from https://CRAN.R-project.org/package=AHR

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 AHR version 1.5.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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