knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of wcrs is to provide a series of tools to implement a Weighted Competing Risks analysis in a unified framework.
The package is designed to estimate weighted cumulative incidence functions in a competing risks setting, plot them and return useful statistical summaries, such as 1-year cumulative incidence of cardiac death in subjects who had heart failure. Furthermore, functions to fit weighted cause-specific hazard models are also available.
The functions are targeted for Propensity Score Inverse Probability Weighting (PS-IPW) analyses, where weights derived from estimated PS are used to approximate a randomized study.
You can install the development version from GitHub with the following procedure:
# install.packages("devtools") remotes::install_github("UBESP-DCTV/wcrs")
If you need some more features, please open an issue on github.
If you encounter a bug, please file a reprex (minimal reproducible example) on github.
Please note that the 'wcrs' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
The package is currently under active development. The functions are not stable yet and the users should consider their usage for experimental purposes only.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.