Package: rpsurv 0.8.0
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, and smooth non-linear covariate effects via restricted cubic splines in the covariate, each with its own argument. The likelihood and its analytic gradient are evaluated in C++ with 'RcppParallel', giving large speedups over pure-R implementations for large datasets.
Authors:
rpsurv_0.8.0.tar.gz
rpsurv_0.8.0.zip(r-4.7-x86_64)rpsurv_0.8.0.zip(r-4.7-arm64)rpsurv_0.8.0.zip(r-4.6-x86_64)rpsurv_0.8.0.zip(r-4.6-arm64)rpsurv_0.8.0.zip(r-4.5-x86_64)
rpsurv_0.8.0.tgz(r-4.6-x86_64)rpsurv_0.8.0.tgz(r-4.6-arm64)rpsurv_0.8.0.tgz(r-4.5-x86_64)rpsurv_0.8.0.tgz(r-4.5-arm64)
rpsurv_0.8.0.tar.gz(r-4.7-arm64)rpsurv_0.8.0.tar.gz(r-4.7-x86_64)rpsurv_0.8.0.tar.gz(r-4.6-arm64)rpsurv_0.8.0.tar.gz(r-4.6-x86_64)
rpsurv_0.8.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rpsurv/json (API)
| # Install 'rpsurv' in R: |
| install.packages('rpsurv', repos = c('https://ielbadisy.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ielbadisy/rpsurv/issues
Last updated from:af1b2c5eab. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 120 | ||
| linux-devel-x86_64 | OK | 127 | ||
| source / vignettes | OK | 217 | ||
| linux-release-arm64 | OK | 113 | ||
| linux-release-x86_64 | OK | 141 | ||
| macos-release-arm64 | OK | 122 | ||
| macos-release-x86_64 | OK | 232 | ||
| macos-oldrel-arm64 | OK | 89 | ||
| macos-oldrel-x86_64 | OK | 205 | ||
| windows-devel-arm64 | OK | 192 | ||
| windows-devel-x86_64 | OK | 157 | ||
| windows-release-arm64 | OK | 191 | ||
| windows-release-x86_64 | OK | 92 | ||
| windows-oldrel-x86_64 | OK | 116 | ||
| wasm-release | OK | 110 |
Exports:coxsnell_plotkm_compare_plotnlecurvermst_diffrpsurvtvecurve
Dependencies:latticeMatrixRcppRcppParallelsurvival
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| German breast cancer data | brcancer |
| Cox-Snell residual diagnostic plot | coxsnell_plot |
| Stanford heart transplant data | heart |
| Compare the fitted survival curve against the Kaplan-Meier estimate | km_compare_plot |
| Non-linear effect component of a covariate | nlecurve |
| Plot predicted curves from a Royston-Parmar model | plot.rpsurv |
| Predict from a fitted Royston-Parmar model | predict.rpsurv |
| Residuals for a Royston-Parmar model | residuals.rpsurv |
| Restricted mean survival time difference between two covariate profiles | rmst_diff |
| Fit a Royston-Parmar flexible parametric survival model | rpsurv |
| Time-varying effect component of a covariate | tvecurve |
| Veterans' Administration lung cancer trial | veteran |