Graphical Shim for Visual Survival Data Analysis

Provides a shim command for survival analysis graphic generation.


vsd

vsd is a shim package that allows for appealing and relevant graphical output for Survival Analysis data sets.

Installation

You can install the released version of vsd from CRAN with:

install.packages("vsd")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("cyanzule/vsd")

Example

library(vsd)
#> Loading required package: survival
#> Loading required package: ggplot2
vsd(survfit(Surv(time, status) ~ x, data = aml), .include = c("fit", "haz"), conf.int = T)
#> $fit
#> 
#> $hazard
vsd(coxph(Surv(time, status) ~ age + sex, data = lung), .include = c("forest", "res"))
#> $forest
#> 
#> $residuals
library(flexsurv)
vsd(flexsurvreg(Surv(rectime, censrec) ~ group, data = bc, dist = "weibull"))$param

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("vsd")

0.1.0 by Daniel Camacho, 5 years ago


Browse source code at https://github.com/cran/vsd


Authors: Daniel Camacho [aut, cre] , Ana Abreu [aut, ths]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, survminer, flexsurv, magrittr, ggpubr, muhaz

Depends on survival, ggplot2

Suggests plotly


See at CRAN