Recursive Gradient Scanning Algorithm


[Up] [Top]

Documentation for package ‘RGS’ version 1.0

Help Pages

evaluate_model_cox Evaluate model with cutoffs Evaluates the model by creating exposure variables based on the cutoffs and fitting a Cox model.
evaluate_model_logistic Evaluate logistic regression model with cutoffs
find_best_combination_cox Find best combination of cutoffs Searches for the best combination of cutoffs that minimizes the Akaike Information Criterion (AIC).
find_best_combination_logistic Find best combination of cutoffs for logistic regression
find_cutoffs_cox Find symmetric cutoffs This function finds symmetric cutoff points for a specified variable using Cox regression.
find_cutoffs_logistic Find symmetric cutoffs for logistic regression
rgs_for_cox Main function for cox regression analysis Performs regression analysis to identify optimal cutoffs and evaluate the model. Users are required to create and set the datadist option globally before using this function.
rgs_for_logistic Main function for logistic regression analysis
test_ushape_cox Test U-shape relationship This function checks for a U-shaped relationship between survival time and a set of variables. Users are required to create and set the datadist option globally before using this function.
test_ushape_logistic Test U-shape relationship in logistic regression