eGFR_adult_SCr_SCysC {epocakir}R Documentation

eGFR 2012 CKD-EPI creatinine-cystatin C equation

Description

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

Usage

eGFR_adult_SCr_SCysC(...)

## S3 method for class 'data.frame'
eGFR_adult_SCr_SCysC(.data, SCr, SCysC, Age, male, black, ...)

## S3 method for class 'units'
eGFR_adult_SCr_SCysC(SCr, SCysC, Age, male, black, ...)

## S3 method for class 'numeric'
eGFR_adult_SCr_SCysC(SCr, SCysC, Age, male, black, ...)

Arguments

...

Further optional arguments

.data

(data.frame) A data.frame, optional

SCr

Serum creatinine column name, or vector of units or numeric if .data is not provided

SCysC

Serum Cystatin C column name, or vector of units or numeric if .data is not provided

Age

Age of patient column name, or vector of units or numeric if .data is not provided

male

Male or not column name, or vector of logical (TRUE/FALSE) if .data is not provided

black

Black race or not column name, or vector of logical (TRUE/FALSE) if .data is not provided

Details

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

Value

Estimated GFR of the same type provided (numeric or units)

Examples

eGFR_adult_SCr_SCysC(eGFR_pt_data,
  SCr = "SCr_", SCysC = "SCysC_",
  Age = "Age_", male = "male_", black = "black_"
)

eGFR_pt_data %>%
  dplyr::mutate(eGFR = eGFR_adult_SCr_SCysC(
    SCr = SCr_, SCysC = SCysC_,
    Age = Age_, male = male_, black = black_
  ))

[Package epocakir version 0.9.9 Index]