Other packages > Find by keyword >

RGS  

Recursive Gradient Scanning Algorithm
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("RGS", "1.0")



Attach the package and use:
library("RGS")
Maintained by
Shuo Yang
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-12-19
Latest Update:
Description:
Provides a recursive gradient scanning algorithm for discretizing continuous variables in Logistic and Cox regression models. This algorithm is especially effective in identifying optimal cut-points for variables with U-shaped relationships to 'lnOR' (the natural logarithm of the odds ratio) or 'lnHR' (the natural logarithm of the hazard ratio), thereby enhancing model fit, interpretability, and predictive power. By iteratively scanning and calculating gradient changes, the method accurately pinpoints critical cut-points within nonlinear relationships, transforming continuous variables into categorical ones. This approach improves risk classification and regression analysis performance, increasing interpretability and practical relevance in clinical and risk management settings.
How to cite:
Shuo Yang (2024). RGS: Recursive Gradient Scanning Algorithm. R package version 1.0, https://cran.r-project.org/web/packages/RGS. Accessed 26 Jun. 2026.
Previous versions and publish date:
1.0 (2024-12-19 21:50)
Other packages that cited RGS R package
View RGS citation profile
Other R packages that RGS depends, imports, suggests or enhances
Complete documentation for RGS
Functions, R codes and Examples using the RGS R package
Full RGS package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

poptrend  
Estimate Smooth and Linear Trends from Population Count Survey Data
Functions to estimate and plot smooth or linear population trends, or population indices, from anim ...
Download / Learn more Package Citations See dependency  
PoisBinOrdNor  
Data Generation with Poisson, Binary, Ordinal and Normal Components
Generation of multiple count, binary, ordinal and normal variables simultaneously given the marginal ...
Download / Learn more Package Citations See dependency  
ggblanket  
Simplify 'ggplot2' Visualisation
Simplify 'ggplot2' visualisation with 'ggblanket' wrapper functions. ...
Download / Learn more Package Citations See dependency  
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  
infotheo  
Information-Theoretic Measures
Implements various measures of information theory based on several entropy estimators. ...
Download / Learn more Package Citations See dependency  
tactile  
New and Extended Plots, Methods, and Panel Functions for 'lattice'
Extensions to 'lattice', providing new high-level functions, methods for existing functions, panel f ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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