Learn R Programming

transplantr (version 0.2.0)

walser_US: eGFR using the Walser formula (US units)

Description

A wrapper function for the walser() vectorised function to calculate eGFR using the Walser formula, using serum creatinine in mg/dl. It has not been possible to run automated tests to confirm the accuracy of this function, so please use with caution.

Usage

walser_US(SCr, Age, Weight, Sex)

Arguments

SCr

numeric vector of serum creatinine in <U+00B5>mol/l (or mg/dl if units = "US")

Age

numeric vector of patient ages in years

Weight

numeric vector of patient weights in kilograms

Sex

character vector of sex ("F" for female, "M" for male)

Value

numeric vectors of eGFR values

Details

Reference: Walser M, Drew HH, Guldan JL. Prediction of glomerular filtration rate in advanced chronic renal failure. Kidney International 1993; 44:2245-1148.

Examples

Run this code
# NOT RUN {
walser_US(SCr = 1.33, Age = 74, Weight = 65, Sex = "M") # 56.3
# }

Run the code above in your browser using DataLab