Learn R Programming

WCE (version 1.0.3)

Weighted Cumulative Exposure Models

Description

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.

Copy Link

Version

Install

install.packages('WCE')

Monthly Downloads

137

Version

1.0.3

License

GPL-2 | GPL-3

Last Published

February 15th, 2024

Functions in WCE (1.0.3)

coef.WCE

Obtain estimated coefficients from WCE object
plot.WCE

Plot of the weight function(s) estimated by WCE
vcov.WCE

Obtain variance-covariance matrix from WCE models
checkWCE

Verify that the arguments passed to the WCE function are in correct format
summary.WCE

Summarize the results of a WCE object
knotsWCE

Obtain the placement of the knots used for splines in WCE models
WCE-package

WCE: Weighted Cumulative Exposure Models
WCE

Fit weighted cumulative exposure models
HR.WCE

Obtain a hazard ratio (HR) from a WCE Cox proportional hazards model
drugdata

Simulated dataset to illustrate the use of WCE models