Skip to content

Weighted Cumulative Exposure Models

0packages depend
2.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

A flexible method for modeling cumulative effects of time-varying exposures, weighted according to their relative proximity in time, and represented by time-dependent covariates. The current implementation estimates the weight function in the Cox proportional hazards model. The function that assigns weights to doses taken in the past is estimated using cubic regression splines.

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.4
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
10 (1 internal)includes a package overview page
Examples that run
100%8 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
80%

Downloads

2.6K
CRAN downloads in the past year
Rank #18,345 · ~7/day · ~218/mo
Daily download trend is not available in this view yet.
27630 days
70190 days
2.6K1 year
Compare downloads with other packages →
Also on70 r2u4 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing WCE adds 2 packages (2 with compiled code, 2.2 MB of source tarballs). Heaviest: Rcpp 1.8 MB, plyr 392 KB.

Depends (1)
R >= 3.5.0
Imports (3)
plyrsurvivalsplines
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 1.0 (2015)
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.4Latest
    record
    2025-09-01 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.3
    record
    2024-02-15 · diff ↗ ·
    removed 3 exports
    summary.WCE, coef.WCE, vcov.WCE
  • 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
  • 1.0.2
    record
    2018-08-08 · diff ↗
  • 1.0.1
    record
    2018-07-04 · diff ↗ ·
    removed 1 export
    knots.WCE
    added 1 export
    knotsWCE
  • 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
  • R
    R 3.2.0 released · 2015-04-16
Show 2 earlier eventsHide 2 earlier events
  • 1.0
    record
    2015-01-14
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2015-01-14
Total releases
5 / 11 yrs
License
GPL-2 | GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
48 KB / 1 file
Download size
70 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("WCE")
Sylvestre, M., Abrahamowicz, M., Beauchamp, M., & Kyle, R. P. (2025). WCE: Weighted Cumulative Exposure Models (Version 1.0.4) [Computer software]. https://doi.org/10.32614/CRAN.package.WCE

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

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