ggrcs (Q68700): Difference between revisions
From MaRDI portal
Changed an Item |
Added link to MaRDI item. |
||
links / mardi / name | links / mardi / name | ||
Latest revision as of 18:55, 12 March 2024
Draw Histograms and Restricted Cubic Splines (RCS)
Language | Label | Description | Also known as |
---|---|---|---|
English | ggrcs |
Draw Histograms and Restricted Cubic Splines (RCS) |
Statements
30 January 2024
0 references
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>.
0 references