Label CKD stages or ESRD outcomes.
Examples
df <- data.frame(eGFR = c(92, 58, 42, 28, 12))
class_ckd_stages(df, egfr_col = "eGFR")
#>   eGFR
#> 1   92
#> 2   58
#> 3   42
#> 4   28
#> 5   12
Label CKD stages or ESRD outcomes.
df <- data.frame(eGFR = c(92, 58, 42, 28, 12))
class_ckd_stages(df, egfr_col = "eGFR")
#>   eGFR
#> 1   92
#> 2   58
#> 3   42
#> 4   28
#> 5   12