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.2 |
Depends: | R (≥ 4.2.0) |
Imports: | rms, ggplot2, scales, cowplot |
Suggests: | knitr, rmarkdown |
Published: | 2024-09-24 |
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 |
Reference manual: | ggrcs.pdf |
Vignettes: |
ggrcs_vignette (source, R code) |
Package source: | ggrcs_0.4.2.tar.gz |
Windows binaries: | r-devel: ggrcs_0.4.2.zip, r-release: ggrcs_0.4.2.zip, r-oldrel: ggrcs_0.4.2.zip |
macOS binaries: | r-release (arm64): ggrcs_0.4.2.tgz, r-oldrel (arm64): ggrcs_0.4.2.tgz, r-release (x86_64): ggrcs_0.4.2.tgz, r-oldrel (x86_64): ggrcs_0.4.2.tgz |
Old sources: | ggrcs archive |
Please use the canonical form https://CRAN.R-project.org/package=ggrcs to link to this page.