Visualization of Restricted Cubic Splines
Overview
Restricted Cubic Splines were performed to explore the shape of association form of "U, inverted U, L" shape and test linearity or non-linearity base on "Cox,Logistic,linear,quasipoisson" regression, and auto output Restricted Cubic Splines figures. rcssci package could automatically draw RCS graphics with Y-axis "OR,HR,RR,beta". The Restricted Cubic Splines method were based on Suli Huang (2022) doi:10.1016/j.ecoenv.2022.113183,Amit Kaura (2019) doi:10.1136/bmj.l6055, and Harrell Jr (2015, ISBN:978-3-319-19424-0 (Print) 978-3-319-19425-7 (Online)).
Install
Health
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage: ‘rcs_cox.lshap.Rd’ ‘rcs_cox.nshap.Rd’ ‘rcs_cox.prob.Rd’ ‘rcs_cox.ushap.Rd’ ‘rcs_linear.lshap.Rd’ ‘rcs_linear.nshap.Rd’ ‘rcs_linear.prob.Rd’ ‘rcs_linear.ushap.Rd’ ‘rcs_logistic.lshap.Rd’ ‘rcs_logistic.nshap.Rd’ ‘rcs_logistic.prob.Rd’ ‘rcs_logistic.ushap.Rd’ ‘rcs_quasipoisson.lshap.Rd’ ‘rcs_quasipoisson.nshap.Rd’ ‘rcs_quasipoisson.prob.Rd’ ‘rcs_quasipoisson.ushap.Rd’ ‘rcssci_cox.Rd’ ‘rcssci_linear.Rd’ ‘rcssci_logistic.Rd’ ‘rcssci_quasipoisson.Rd’ \arguments should not be documented without \usage.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 1 NOTE2026-07-11
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 21
- Examples that run
- 81%17 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Repository github.com/popnie/rcssci is linked, but repository-practices checks have not run for it yet.
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.4.0Latest2023-02-15 · current release · diff ↗ ·
added 5 exports
rcs_quasipoisson.lshap, rcs_quasipoisson.nshap, rcs_quasipoisson.prob, rcs_quasipoisson.ushap, rcssci_quasipoisson - 0.2.02022-11-07 · diff ↗
- 0.1.02022-10-10
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-10-10
- Total releases
- 3 / 4 yrs
- License
- Artistic-2.0 OSI
- Minimum R
- ≥ 4.2.0
- Bundled data
- 19 KB / 1 file
- Download size
- 34 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rcssci")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.