Learn R Programming

⚠️There's a newer version (1.0.4) of this package.Take me there.

WCE (version 1.0.2)

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

253

Version

1.0.2

License

GPL (>= 2)

Maintainer

Marie-Pierre Sylvestre

Last Published

August 8th, 2018

Functions in WCE (1.0.2)

HR.WCE

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

Fit weighted cumulative exposure models
plot.WCE

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

Method to summarize the results of a WCE object
checkWCE

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

Obtain estimated coefficients from WCE object
vcov.WCE

Obtain variance-covariance matrix from WCE models
wce-package

Weighted Cumulative Exposure Models
drugdata

Sample dataset for use with WCE package
knotsWCE

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