Parametric Survival Modeling in Bulk

A simple tool for the bulk creation and testing of parametric survival models. Simply provide 'fssg' with a formula and some data, and let it identify the best distributions for you.


fssg: Flexsurv "Shotgun" Approach

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!

Installation

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')

Example

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.

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("fssg")

1.0.0 by John Rothen, 4 months ago


https://github.com/jmrothen/fssg


Report a bug at https://github.com/jmrothen/fssg/issues


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


Authors: John Rothen [aut, cre, cph] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports actuar, dplyr, extraDistr, flexsurv, magrittr, methods, Rcpp, rstudioapi, stats, survAUC, survival, SurvMetrics, tictoc, VGAM

Suggests knitr, rmarkdown, testthat, splines2

Linking to Rcpp


See at CRAN