Learn R Programming

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

flexsurv (version 0.7.1)

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

12,052

Version

0.7.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Christopher Jackson

Last Published

March 24th, 2016

Functions in flexsurv (0.7.1)

Llogis

The log-logistic distribution
GenF.orig

Generalized F distribution (original parameterisation)
flexsurvspline

Flexible survival regression using the Royston/Parmar spline model.
flexsurvreg

Flexible parametric regression for time-to-event data
plot.flexsurvreg

Plots of fitted flexible survival models
totlos.simfs

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

Generalized gamma distribution (original parameterisation)
totlos.fs

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

The Gompertz distribution
qgeneric

Generic function to find quantiles of a distribution
lines.flexsurvreg

Add fitted flexible survival curves to a plot
flexsurv-package

flexsurv: Flexible parametric survival and multi-state models
bc

Breast cancer survival data
pmatrix.fs

Transition probability matrix from a fully-parametric, time-inhomogeneous Markov multi-state model
GenF

Generalized F distribution
basis

Natural cubic spline basis
Survspline

Royston/Parmar spline survival distribution
bos

Bronchiolitis obliterans syndrome after lung transplants
unroll.function

Convert a function with matrix arguments to a function with vector arguments.
WeibullPH

Weibull distribution in proportional hazards parameterisation
GenGamma

Generalized gamma distribution
model.frame.flexsurvreg

Extract original data from flexsurvreg objects.
normboot.flexsurvreg

Simulate from the asymptotic normal distribution of parameter estimates.
msfit.flexsurvreg

Cumulative intensity function for parametric multi-state models
pmatrix.simfs

Transition probability matrix from a fully-parametric, semi-Markov multi-state model
pars.fmsm

Transition-specific parameters in a flexible parametric multi-state model
sim.fmsm

Simulate paths through a fully parametric semi-Markov multi-state model
summary.flexsurvreg

Summaries of fitted flexible survival models
Hazard and cumulative hazard functions for standard distributions

Hazard and cumulative hazard functions