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.2.4 |
Depends: |
R (≥ 3.6.0) |
Imports: |
rms, ggplot2, scales |
Published: |
2022-09-02 |
Author: |
Qiang LIU [aut, cre] |
Maintainer: |
Qiang LIU <dege857 at 163.com> |
License: |
GPL-3 |
NeedsCompilation: |
no |
CRAN checks: |
ggrcs results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=ggrcs
to link to this page.