README.md

transform.hazards

R package for transforming cumulative hazard estimates to obtain a range of parameters in survival analysis1.

Getting Started

Installing

Make sure to have the devtools package installed. Then run

devtools::install_github("palryalen/transform.hazards", build_vignettes=TRUE).

You can also download the source from this page and build the package manually.

NB! With devtools 2.0.0, devtools::install_github("repository", build_vignettes = TRUE) no longer builds the vignettes. In that case, use the following command:

devtools::install_github("palryalen/transform.hazards", build_opts = c("--no-resave-data", "--no-manual")).

Vignette

A detailed vignette with worked examples on how to utilize the package can be found using the command browseVignettes("transform.hazards")

NB! The vignette doesn't compile properly for some R versions (e.g 3.2.3). I am currently looking into the issue.

Examples

browseVignettes("transform.hazards")

library(transform.hazards)

example(pluginEstimate)

Versioning

We use SemVer for versioning.

Authors

License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) licence. You are therefore free to

References

1: Pål Ryalen, Mats Stensrud, Kjetil Røysland, Transforming cumulative hazard estimates



palryalen/transform.hazards documentation built on June 28, 2023, 7:15 a.m.