doi:10.1002/sim.1497>.">

ggrcs: Draw Histograms and Restricted Cubic Splines (RCS) (original) (raw)

You can use this function to easily draw a combined histogram and restricted cubic spline. The function draws the graph through 'ggplot2'. RCS fitting requires the use of the rcs() function of the 'rms' package. Can fit cox regression, logistic regression. This method was described by Per Kragh (2003) <doi:10.1002/sim.1497>.

Version: 0.4.3
Depends: R (≥ 4.2.0)
Imports: rms, ggplot2, scales, cowplot
Suggests: knitr, rmarkdown
Published: 2025-02-12
DOI: 10.32614/CRAN.package.ggrcs
Author: Qiang LIU [aut, cre]
Maintainer: Qiang LIU <dege857 at 163.com>
License: GPL-3
NeedsCompilation: no
Materials: NEWS
CRAN checks: ggrcs results

Documentation:

Downloads:

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=ggrcsto link to this page.