Skip to content

rcssci

0.4.0Package record

Visualization of Restricted Cubic Splines

0packages depend
4.3Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

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

CRAN checks
2NOTE11OK
Check messages
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.

CRAN check page ↗

Slowest check: 3.2 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.0
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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

4.3K
CRAN downloads in the past year
Rank #11,073 · ~12/day · ~361/mo
Daily download trend is not available in this view yet.
31530 days
96190 days
4.3K1 year
Compare downloads with other packages →
Also on62 r2u1 autocran

Repository

Responsiveness
not measured
PracticesBeta

Repository github.com/popnie/rcssci is linked, but repository-practices checks have not run for it yet.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing rcssci adds 118 packages (60 with compiled code, 111 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, ggplot2 6.0 MB.

Depends (1)
R >= 4.2.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.1.0 (2022), Copyright holder
ORCID = 0000-0001-7642-3286, wechat = Biostatistics-SCI
Contributor
Contributor · added in 0.2.0
Listed in earlier versions (1)
Leichao Chen
no longer listed · 0.1.0
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.0Latest
    record
    2023-02-15 · current release · diff ↗ ·
    added 5 exports
    rcs_quasipoisson.lshap, rcs_quasipoisson.nshap, rcs_quasipoisson.prob, rcs_quasipoisson.ushap, rcssci_quasipoisson
  • 0.2.0
    record
    2022-11-07 · diff ↗
  • 0.1.0
    record
    2022-10-10
  • R
    R 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")
Nie, Z., JunZhang, & Chen, C. (2023). rcssci: Visualization of Restricted Cubic Splines (Version 0.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for rcssci version 0.4.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy