Label CKD stages or ESRD outcomes.
Usage
class_ckd_stages(
df,
egfr_col = "eGFR",
stage_col = NULL,
combined_stage_col = NULL
)
Arguments
- df
Data frame input.
- egfr_col
Column name for eGFR, mL/min/1.73 m^2.
- stage_col
Output column name for detailed CKD stages.
- combined_stage_col
Output column for combined stages 3 to 5.
Value
The modified data frame with added label columns.
Examples
# class_ckd_stages example
# class_ckd_stages()