The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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
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: rpsurv_0.7.1.zip
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): rpsurv_0.7.1.tgz, 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.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.