grp_ckd: Creates CKD groups from numeric eGFR values. The new variable...

Usage Arguments Author(s) References Examples

View source: R/grp_ckd.R

Usage

1

Arguments

x

Numeric vector of eGFR values.

style

Select the presentation of the category labels. 'name' [default] are the standard CKD Stage labels: "Stage 1" through to "Stage 5". 'num' gives the numeric ranges, as character labels: ">90.0" down to "<15.0".

Author(s)

Julian Collins

References

https://renal.org/information-resources/the-uk-eckd-guide/ckd-stages/

Examples

1
2
3
4
5
# numeric eGFR values
data <- sample(1:150, 50)

# create new ordered factor column giving corresponding obesity group values
ckd_groups <- grp_ckd(data)

KHP-IDEO/rIDEO documentation built on Aug. 11, 2019, 4:29 p.m.