This package is designed to provide a simple, one-line-of-code approach to testing a variety of parametric survival distributions on a data set. This is done by running 50+ different parametric survival curves in order to see which one may be best suited to describing your data!
You can install the package through CRAN using:
install.packages('fssg')You can install the development version of fssg like
so:
devtools::install_github('jmrothen/fssg')The package is designed to be mostly contained to one function,
fssg. Simply provide a survival formula, and receive a
table of each model run, and how it fits:
library(fssg)
# sample dataset available in <survival>
library(survival)
fssg(Surv(time, status)~1, data=aml, dump_models = TRUE)For a more in-depth example, please refer to the vignette titled
fssg.