ggrcs: Draw Histograms and Restricted Cubic Splines (RCS)

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.0
Depends: R (≥ 4.2.0)
Imports: rms, ggplot2, scales, cowplot
Suggests: knitr, rmarkdown
Published: 2024-06-29
DOI: 10.32614/CRAN.package.ggrcs
Author: Qiang LIU [aut, cre]
Maintainer: Qiang LIU <dege857 at>
License: GPL-3
NeedsCompilation: no
Materials: NEWS
CRAN checks: ggrcs results


Reference manual: ggrcs.pdf
Vignettes: ggrcs_vignette


Package source: ggrcs_0.4.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ggrcs_0.4.0.tgz, r-oldrel (arm64): ggrcs_0.4.0.tgz, r-release (x86_64): ggrcs_0.4.0.tgz, r-oldrel (x86_64): ggrcs_0.4.0.tgz
Old sources: ggrcs archive


Please use the canonical form to link to this page.