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 05 Jun. 2026.
Previous versions and publish date:
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

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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