Other packages > Find by keyword >

ggrcs  

Draw Histograms and Restricted Cubic Splines (RCS)
View on CRAN: Click here


Download and install ggrcs package within the R console
Install from CRAN:
install.packages("ggrcs")

Install from Github:
library("remotes")
install_github("cran/ggrcs")

Install by package version:
library("remotes")
install_version("ggrcs", "0.4.3")



Attach the package and use:
library("ggrcs")
Maintained by
Qiang LIU
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2022-08-23
Latest Update: 2025-02-12
Description:
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) .
How to cite:
Qiang LIU (2022). ggrcs: Draw Histograms and Restricted Cubic Splines (RCS). R package version 0.4.3, https://cran.r-project.org/web/packages/ggrcs. Accessed 25 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:44), 0.1.0 (2022-08-23 14:40), 0.2.4 (2022-09-02 17:20), 0.2.6 (2022-11-28 10:50), 0.2.7 (2022-12-14 08:10), 0.2.8 (2023-03-02 01:50), 0.2.9 (2023-04-13 04:20), 0.3.0 (2023-04-25 12:40), 0.3.5 (2023-11-05 04:10), 0.3.8 (2024-01-30 04:20), 0.4.0 (2024-06-29 04:40), 0.4.1 (2024-08-28 23:00), 0.4.2 (2024-09-24 18:40)
Other packages that cited ggrcs R package
View ggrcs citation profile
Other R packages that ggrcs depends, imports, suggests or enhances
Complete documentation for ggrcs
Functions, R codes and Examples using the ggrcs R package
Some associated functions: ggrcs . predata.coxph . predata.lrm . predata . predata.ols . singlercs . smoke . 
Some associated R codes: ggrcs.R . predata.R . predata.coxph.R . predata.lrm.R . predata.ols.R . pvformat.R . singlercs.R . smoke.R .  Full ggrcs package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

hwep  
Hardy-Weinberg Equilibrium in Polyploids
Inference concerning equilibrium and random mating in autopolyploids. Methods are available to test ...
Download / Learn more Package Citations See dependency  
missDiag  
Comparing Observed and Imputed Values under MAR and MCAR
Implements the computation of discrepancy statistics summarizing differences between the density of ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
commonsMath  
JAR Files of the Apache Commons Mathematics Library
'Java' JAR files for the Apache Commons Mathematics Library for use by users and other packages. ...
Download / Learn more Package Citations See dependency  
connectwidgets  
Organize and Curate Your Content Within 'Posit Connect'
A collection of helper functions and 'htmlwidgets' to help publishers curate content collections on ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA