Skip to content

wcox

Weights to Correct for Outcome Dependent Sampling in Time to Event Data

v1.0 · May 16, 2023 · GPL-3

Description

A new inverse probability of selection weighted Cox model to deal with outcome-dependent sampling in survival analysis.

Downloads

CRAN

181

Last 30 days

23653rd

486

Last 90 days

1.8K

Last year

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

r2u CRAN

0

Last 30 days

23

Last 90 days

100

Last year

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

autoCRAN

2

Last 7 days

5

Last 30 days

1

All-time

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

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
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 (2 non-OK)
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

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

dependencies in R code

Namespace in Imports field not imported from: ‘survival’
  All declared Imports should be used.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

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

dependencies in R code

Namespace in Imports field not imported from: ‘survival’
  All declared Imports should be used.

Code

Structure

Lines of code

824

Files

16

Compiled share

0%

Has compiled src

No

Language breakdown

R 296 (35.9%)Docs 82 (10%)Vignettes 446 (54.1%)

API

Exported functions

2

Internal functions

0

Recent export changes

v1.0+2 Calculate_weights, Prepare_data

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

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

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

1

First release

2023-05-16

Latest release

2023-05-16

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 dplyr tidyr survival wcox

Version History

1 tracked
new 1.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN May 16, 2023. Releases before tracking aren’t shown.