Skip to content

cyanzule/vsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages