Skip to content

survstan

0.0.7.1

Fitting Survival Regression Models via 'Stan'

1packages depend
3.1Kdownloads / year
66.4%test coverage
11/13checks pass

Overview

About
Maintained by Fabio DemarquiFirst published 2023-05-049 releasesCRAN page ↗GitHub ↗

Parametric survival regression models under the maximum likelihood approach via 'Stan'. Implemented regression models include accelerated failure time models, proportional hazards models, proportional odds models, accelerated hazard models, Yang and Prentice models, and extended hazard models. Available baseline survival distributions include exponential, Weibull, log-normal, log-logistic, gamma, generalized gamma, rayleigh, Gompertz and fatigue (Birnbaum-Saunders) distributions. References: Lawless (2002) <ISBN:9780471372158>; Bennett (1982) doi:10.1002/sim.4780020223; Chen and Wang(2000) doi:10.1080/01621459.2000.10474236; Demarqui and Mayrink (2021) doi:10.1214/20-BJPS471.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
Slowest check: 9.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.09
66.4%
Coverage · measured lines
100%
Documentation · exports
22
Dependencies · direct
Check history
  • NOTE2026-07-29
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-27
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-07-18
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-07-16
    11 OK · 1 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-06-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-06-08
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-22
    9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    8 OK · 5 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,465 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
96%
Return-value docs
93%
References docs
9%

Downloads

3.1K
CRAN downloads in the past year
Rank #9,421 · ~8/day · ~257/mo
Daily download trend is not available in this view yet.
32530 days
1K90 days
3.1K1 year
Compare downloads with other packages →
Also on440 r2u14 autocran

Repository

Repository
9Stars
3Forks
0Open issues
0Open PRs
0Releases
78Commits
2Contributors
78 commits · Last activity 2026-04-10 · 0% stars, 30d

Stars over time

2025-06-27 · 62026-07-15 · 9

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/fndemarqui/survstan on 2026-08-09.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (1)
Contributor · added in 0.0.6
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

9 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.0.7.1Latest
    2024-04-12 · current release · diff ↗
  • 0.0.7
    2024-03-21 · diff ↗
  • 0.0.6.1
    2024-02-05 · diff ↗
  • 0.0.6
    2024-01-18 · diff ↗
  • 0.0.5
    2023-12-18 · diff ↗
  • 0.0.4
    2023-09-21 · diff ↗
  • 0.0.3
    2023-08-09 · diff ↗
  • 0.0.2
    2023-06-09 · diff ↗
  • 0.0.1
    2023-05-04
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-05-04
Total releases
9 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.4.0
Bundled data
5.7 KB / 2 files
Download size
139 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("survstan")
Demarqui, F., & Johnson, A. (2024). survstan: Fitting Survival Regression Models via 'Stan' (Version 0.0.7.1) [Computer software]. https://doi.org/10.32614/CRAN.package.survstan

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for survstan version 0.0.7.1 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy