Skip to content

R2Addhaz

R2 Measure of Explained Variation under the Additive Hazards Model

v0.1.0 · Apr 7, 2020 · GPL-2

Description

R^2 measure of explained variation under the semiparametric additive hazards model is estimated. The measure can be used as a measure of predictive capability and therefore it can be adopted in model selection process. Rava, D. and Xu, R. (2020) <arXiv:2003.09460>.

Downloads

CRAN

257

Last 30 days

19136th

590

Last 90 days

2.2K

Last year

Trend: +84.9% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

24

Last 90 days

94

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

1

Last 7 days

12

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

4 NOTE
9 OK
Show all 13 flavors
Flavor Status
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 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (4 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Denise Rava <drava@ucsd.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Denise",
                    family = "Rava",
                    role = c("aut", "cre"),
                    email = "drava@ucsd.edu")
as necessary.

The Description field contains
  selection process. Rava, D. and Xu, R. (2020) <arXiv:2003.09460>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Denise Rava <drava@ucsd.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Denise",
                    family = "Rava",
                    role = c("aut", "cre"),
                    email = "drava@ucsd.edu")
as necessary.

The Description field contains
  selection process. Rava, D. and Xu, R. (2020) <arXiv:2003.09460>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘pracma’ ‘zoo’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘pracma’ ‘zoo’
  All declared Imports should be used.

Check History

NOTE 7 OK · 7 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Denise Rava <drava@ucsd.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Denise",
                    family = "Rava",
                    role = c("aut", "cre"),
                    email = "drava@ucsd.edu")
as necessary.

The Description field contains
  selection process. Rava, D. and Xu, R. (2020) <arXiv:2003.09460>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Denise Rava <drava@ucsd.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Denise",
                    family = "Rava",
                    role = c("aut", "cre"),
                    email = "drava@ucsd.edu")
as necessary.

The Description field contains
  selection process. Rava, D. and Xu, R. (2020) <arXiv:2003.09460>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘pracma’ ‘zoo’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘pracma’ ‘zoo’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Code

Structure

Lines of code

238

Files

6

Compiled share

0%

Has compiled src

No

Language breakdown

R 203 (85.3%)Docs 35 (14.7%)

API

Exported functions

1

Internal functions

3

Recent export changes

v0.1.0+1 R2addhaz

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

16.7%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

1

First release

2020-04-07

Latest release

2020-04-07

Avg cadence

Cold removal rate

Dep drift

0

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies ahaz pracma zoo caTools survival Rdpack R2Addhaz

Version History

1 tracked
new 0.1.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Apr 7, 2020. Releases before tracking aren’t shown.