walser: eGFR using the Walser formula

Description Usage Arguments Details Value Examples

View source: R/nankivell_walser.R

Description

A vectorised function to calculate eGFR using the Walser formula. By default the equation accepts serum creatinine in µmol/l but can be changed to mg/dl by setting the units parameter to "US". It has not been possible to run automated tests to confirm the accuracy of this function, so please use with caution.

Usage

1
walser(SCr, Age, Weight, Sex, Units = "SI")

Arguments

SCr

numeric vector of serum creatinine in µ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)

Units

non-vectorised optional parameter for creatinine units ("SI" for µmol/l (default), "US" for mg/dl)

Details

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

Value

numeric vectors of eGFR values

Examples

1
walser(SCr = 118, Age = 74, Weight = 65, Sex = "M") # 56.1

Example output

[1] 56.11054

transplantr documentation built on Feb. 28, 2020, 5:07 p.m.