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 |
SCysC |
Serum Cystatin C
column name, or vector of units or numeric if |
Age |
Age of patient
column name, or vector of units or numeric if |
male |
Male or not
column name, or vector of logical (TRUE/FALSE) if |
black |
Black race or not
column name, or vector of logical (TRUE/FALSE) if |
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_
))