sword is a package which implements the methology developed in (citer article). The main function of sword is sw_reg and allows to fit random forest and gam model to model a right censored variable, using Inverse Probability of Censoring Weighting (IPCW). Different types of weights are available (Kaplan-Meier, Cox, random surv forest) and custom weights may be provided. cox_reg and rsf_reg are functions which implement the 2 benchmarks based on Cox model and RSF model studied in (citer article). These 3 sword functions are wrappers to other R packages which implement classical regression algorithms.
|License||GPL (>= 3)|
|Package repository||View on GitHub|
Install the latest version of this package by entering the following in R:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.