rpsurv: Fast Royston-Parmar Flexible Parametric Survival Models

Fits Royston-Parmar flexible parametric survival models (Royston and Parmar, 2002) <doi:10.1002/sim.1203> on the log cumulative hazard, odds, and probit scales, with time-varying (non-proportional) covariate effects via restricted cubic splines in log time. The likelihood and its analytic gradient are evaluated in C++ with 'RcppParallel', giving large speedups over pure-R implementations for large datasets.

Version: 0.7.1
Depends: R (≥ 4.1.0)
Imports: Rcpp, RcppParallel, survival, stats, graphics, grDevices
LinkingTo: Rcpp, RcppParallel
Suggests: rstpm2, flexsurv, numDeriv, testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-09-11
DOI: 10.32614/CRAN.package.rpsurv (may not be active yet)
Author: Imad El Badisy [aut, cre]
Maintainer: Imad El Badisy <elbadisyimad at gmail.com>
BugReports: https://github.com/ielbadisy/rpsurv/issues
License: MIT + file LICENSE
URL: https://github.com/ielbadisy/rpsurv
NeedsCompilation: yes
SystemRequirements: GNU make
Materials: README, NEWS
CRAN checks: rpsurv results

Documentation:

Reference manual: rpsurv.html , rpsurv.pdf
Vignettes: rpsurv: Fast Royston-Parmar Flexible Parametric Survival Models (source, R code)

Downloads:

Package source: rpsurv_0.7.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): rpsurv_0.7.1.tgz, r-oldrel (x86_64): rpsurv_0.7.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rpsurv to link to this page.