GFR_staging {epocakir}R Documentation

GFR Staging

Description

Using KDIGO 2012 Clinical Practice Guideline for the Evaluation and Management of Chronic Kidney Disease Volume 3 | Issue 1 | January 2013

Usage

GFR_staging(...)

## S3 method for class 'data.frame'
GFR_staging(.data, GFR, ...)

## S3 method for class 'units'
GFR_staging(GFR, ...)

## S3 method for class 'numeric'
GFR_staging(GFR, ...)

Arguments

...

Further optional arguments

.data

(data.frame) A data.frame, optional

GFR

Glomerular filtration rate column name, or vector of units or numeric if .data is not provided

Details

See https://kdigo.org/guidelines/ckd-evaluation-and-management/ for more details

Value

GFR category

Examples

df <- tibble::tibble(
  eGFR = units::set_units(c(-1, NA, 100, 70, 50, 35, 20, 10), "mL/min/1.73m2")
)

GFR_staging(df, "eGFR")

df %>%
  dplyr::mutate(GFR_level = GFR_staging(eGFR))

[Package epocakir version 0.9.9 Index]