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

Package details

AuthorQiang LIU [aut, cre]
MaintainerQiang LIU <dege857@163.com>
LicenseGPL-3
Version0.4.2
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("ggrcs")

Try the ggrcs package in your browser

Any scripts or data that you put into this service are public.

ggrcs documentation built on Sept. 24, 2024, 5:07 p.m.