Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
0.7.1 rolling linux/jammy R-4.5 rpsurv_0.7.1.tar.gz 323.8 KiB
0.7.1 rolling linux/noble R-4.5 rpsurv_0.7.1.tar.gz 325.2 KiB
0.7.1 rolling source/ R- rpsurv_0.7.1.tar.gz 319.6 KiB
0.7.1 latest linux/jammy R-4.5 rpsurv_0.7.1.tar.gz 323.8 KiB
0.7.1 latest linux/noble R-4.5 rpsurv_0.7.1.tar.gz 325.2 KiB
0.7.1 latest source/ R- rpsurv_0.7.1.tar.gz 319.6 KiB
0.7.1 2026-04-23 source/ R- rpsurv_0.7.1.tar.gz 0 B

Dependencies (latest)

Imports

LinkingTo

Suggests