Crandore Hub

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>.

Versions across snapshots

VersionRepositoryFileSize
0.4.3 rolling source/ R- ggrcs_0.4.3.tar.gz 150.4 KiB
0.4.3 rolling linux/jammy R-4.5 ggrcs_0.4.3.tar.gz 195.3 KiB
0.4.3 rolling linux/noble R-4.5 ggrcs_0.4.3.tar.gz 195.2 KiB
0.4.3 latest source/ R- ggrcs_0.4.3.tar.gz 150.4 KiB
0.4.3 latest linux/jammy R-4.5 ggrcs_0.4.3.tar.gz 195.3 KiB
0.4.3 latest linux/noble R-4.5 ggrcs_0.4.3.tar.gz 195.2 KiB
0.4.3 2026-04-23 source/ R- ggrcs_0.4.3.tar.gz 150.4 KiB
0.4.3 2026-04-09 windows/windows R-4.5 ggrcs_0.4.3.zip 198.2 KiB
0.4.3 2025-04-20 source/ R- ggrcs_0.4.3.tar.gz 150.4 KiB

Dependencies (latest)

Imports

Suggests