Visualization of Restricted Cubic Splines

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) ,Amit Kaura (2019) , and Harrell Jr (2015, ISBN:978-3-319-19424-0 (Print) 978-3-319-19425-7 (Online)).


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rcssci")

0.4.0 by Zhiqiang Nie, 4 years ago


Report a bug at https://github.com/popnie/RCSsci/issues


Browse source code at https://github.com/cran/rcssci


Authors: Zhiqiang Nie [aut, cre, cph] (ORCID = 0000-0001-7642-3286 , wechat = Biostatistics-SCI) , JunZhang [ctb] , Chaolei Chen [ctb]


Documentation:   PDF Manual  


Artistic-2.0 license


Imports pacman, rms, ggplot2, survminer, segmented, survival, dplyr, patchwork, Cairo


See at CRAN