Learn R Programming

⚠️There's a newer version (2.3.2) of this package.Take me there.

flexsurv (version 0.6)

Flexible Parametric Survival and Multi-State Models

Description

Flexible parametric models for time-to-event data, including the Royston-Parmar spline model, generalized gamma and generalized F distributions. Any user-defined parametric distribution can be fitted, given at least an R function defining the probability density or hazard. There are also tools for fitting and predicting from fully parametric multi-state models.

Copy Link

Version

Install

install.packages('flexsurv')

Monthly Downloads

8,465

Version

0.6

License

GPL (>= 2)

Maintainer

Christopher Jackson

Last Published

April 14th, 2015

Functions in flexsurv (0.6)

flexsurvreg

Flexible parametric regression for time-to-event data
GenF.orig

Generalized F distribution (original parameterisation)
unroll.function

Convert a function with matrix arguments to a function with vector arguments.
summary.flexsurvreg

Summaries of fitted flexible survival models
lines.flexsurvreg

Add fitted flexible survival curves to a plot
pars.fmsm

Transition-specific parameters in a flexible parametric multi-state model
qgeneric

Generic function to find quantiles of a distribution
GenGamma.orig

Generalized gamma distribution (original parameterisation)
Survspline

Royston/Parmar spline survival distribution
flexsurv-package

flexsurv: Flexible parametric survival and multi-state models
GenGamma

Generalized gamma distribution
pmatrix.fs

Transition probability matrix from a fully-parametric, time-inhomogeneous Markov multi-state model
normboot.flexsurvreg

Simulate from the asymptotic normal distribution of parameter estimates.
sim.fmsm

Simulate paths through a fully parametric semi-Markov multi-state model
Hazard and cumulative hazard functions for standard distributions

Hazard and cumulative hazard functions
bos

Bronchiolitis obliterans syndrome after lung transplants
pmatrix.simfs

Transition probability matrix from a fully-parametric, semi-Markov multi-state model
plot.flexsurvreg

Plots of fitted flexible survival models
basis

Natural cubic spline basis
bc

Breast cancer survival data
msfit.flexsurvreg

Cumulative intensity function for parametric multi-state models
model.frame.flexsurvreg

Extract original data from flexsurvreg objects.
flexsurvspline

Flexible survival regression using the Royston/Parmar spline model.
totlos.simfs

Expected total length of stay in specific states, from a fully-parametric, semi-Markov multi-state model
totlos.fs

Total length of stay in particular states for a fully-parametric, time-inhomogeneous Markov multi-state model
Gompertz

The Gompertz distribution
GenF

Generalized F distribution
Llogis

The log-logistic distribution