flexsurv

The flexsurv R package for flexible parametric survival and multi-state modelling

https://github.com/chjackson/flexsurv

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    5 of 22 committers (22.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

The flexsurv R package for flexible parametric survival and multi-state modelling

Basic Info
Statistics
  • Stars: 63
  • Watchers: 6
  • Forks: 28
  • Open Issues: 24
  • Releases: 10
Created almost 12 years ago · Last pushed 12 months ago
Metadata Files
Readme Changelog

README.md

flexsurv

The flexsurv R package for parametric survival and multi-state modelling.

Key features

  • Parametric models for time-to-event (survival) data. Data may be right-censored, and/or left-censored, and/or left-truncated. Several built-in parametric distributions are available, including a very flexible model based on splines (Royston and Parmar).

  • Any user-defined parametric model can be employed by supplying R functions defining the distribution.

  • Covariates can be included using a (log-)linear model on any parameter of any distribution. This typically defines an accelerated failure time or proportional hazards model.

  • Multi-state models for continuously-observed data can be defined by piecing together transition-specific parametric models of any kind. (For intermittently-observed data, see instead the msm package.)

Learn more

User guide (PDF).

Guide to multi-state modelling in flexsurv.

Full reference manual for all the package's functions.

Paper in Journal of Statistical Software (Jackson 2016). Mostly the same as the user guide, but not kept up to date.

Installation (stable CRAN version)

r install.packages("flexsurv")

Installation (development version)

r install.packages("devtools") # if devtools not already installed devtools::install_github('chjackson/flexsurv-dev')

Lifecycle: stable CRAN status R-CMD-check Codecov test coverage <!-- badges: end -->

Owner

  • Name: Chris Jackson
  • Login: chjackson
  • Kind: user

Statistician and programmer

GitHub Events

Total
  • Issues event: 17
  • Watch event: 6
  • Issue comment event: 34
  • Push event: 11
  • Pull request event: 2
  • Fork event: 1
Last Year
  • Issues event: 17
  • Watch event: 6
  • Issue comment event: 34
  • Push event: 11
  • Pull request event: 2
  • Fork event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 532
  • Total Committers: 22
  • Avg Commits per committer: 24.182
  • Development Distribution Score (DDS): 0.303
Past Year
  • Commits: 96
  • Committers: 8
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.292
Top Committers
Name Email Commits
Chris Jackson c****n@m****k 371
Sweeting, Michael m****g@a****m 34
Jordan Amdahl j****l@g****m 16
Matthew T. Warkentin m****n@m****a 16
Paul Metcalfe P****e@a****m 16
Chris Jackson c****n 13
Chris Jackson c****s@l****k 13
Jordan Amdahl j****l@C****n 8
Kevin Kunzmann k****n@m****k 8
Paul Metcalfe p****e@g****m 8
Niels Dunnewind n****s@n****l 6
Jordan Amdahl j****l@C****l 5
Matthew T. Warkentin w****n@l****a 5
leonardo l****s@g****m 3
Kunzmann,Kevin (MED BDS) BIP-DE-I k****n@b****m 2
Hannah Frick h****h@r****m 2
David A McAllister d****r@g****k 1
Alessandro Gasparini g****t@e****z 1
andbe a****e@g****m 1
stephematician s****n@g****m 1
Hadley Wickham h****m@g****m 1
Niels Dunnewind 4****d 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 6
  • Total pull requests: 1
  • Average time to close issues: 10 days
  • Average time to close pull requests: about 19 hours
  • Total issue authors: 5
  • Total pull request authors: 1
  • Average comments per issue: 1.17
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 6
  • Pull requests: 1
  • Average time to close issues: 10 days
  • Average time to close pull requests: about 19 hours
  • Issue authors: 5
  • Pull request authors: 1
  • Average comments per issue: 1.17
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mafed (2)
  • mikesweeting (2)
  • chjackson (2)
  • stephematician (2)
  • hustu (1)
  • MWIESNERVOLVO (1)
  • Alebarbar (1)
  • connor-ballinger (1)
  • sbihorel (1)
  • JaneSweets (1)
  • Lee-xli (1)
  • hfrick (1)
  • jwb133 (1)
  • anddis (1)
  • mcincam100 (1)
Pull Request Authors
  • mikesweeting (2)
  • stephematician (2)
  • irtimmins (1)
  • remlapmot (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 6,708 last-month
  • Total docker downloads: 43,526
  • Total dependent packages: 48
  • Total dependent repositories: 59
  • Total versions: 20
  • Total maintainers: 1
cran.r-project.org: flexsurv

Flexible Parametric Survival and Multi-State Models

  • Versions: 20
  • Dependent Packages: 48
  • Dependent Repositories: 59
  • Downloads: 6,708 Last month
  • Docker Downloads: 43,526
Rankings
Docker downloads count: 0.6%
Dependent packages count: 1.8%
Forks count: 2.7%
Dependent repos count: 3.2%
Average: 3.5%
Downloads: 5.6%
Stargazers count: 7.1%
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.15.0 depends
  • survival * depends
  • Matrix * imports
  • Rcpp >= 0.11.5 imports
  • assertthat * imports
  • deSolve * imports
  • dplyr * imports
  • generics * imports
  • ggplot2 * imports
  • magrittr * imports
  • mstate >= 0.2.10 imports
  • muhaz * imports
  • mvtnorm * imports
  • numDeriv * imports
  • purrr * imports
  • quadprog * imports
  • rlang * imports
  • rstpm2 * imports
  • statmod * imports
  • tibble * imports
  • tidyr * imports
  • tidyselect * imports
  • TH.data * suggests
  • colorspace * suggests
  • eha * suggests
  • flexsurvcure * suggests
  • knitr * suggests
  • lubridate * suggests
  • msm * suggests
  • rmarkdown * suggests
  • survminer * suggests
  • testthat * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-tinytex v1 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite