nankivell_spk_US: eGFR using the Nankivell-SPK formula (US units)

Description Usage Arguments Details Value Examples

View source: R/nankivell_walser.R

Description

A wrapper function for the nankivell_spk() vectorised function to calculate the eGFR using the Nankivell-SPK formula using serum creatinine in mg/dl. To allow for serial measurements over time, such as for transplant follow-up data, there is an optional offset = n parameter which increases the age value used in the equation by n years. It has not been possible to run automated tests to confirm the accuracy of this function, so please use with caution.

Usage

1
nankivell_spk_US(SCr, Age, Sex, Weight, Height, Offset = 0)

Arguments

SCr

numeric vector of serum creatinine in µmol/l (or mg/dl if units = "US")

Age

numeric vector of patient ages in years

Sex

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

Weight

numeric vector of patient weights in kilograms

Height

numeric vector of patient heights in metres

Offset

non-vectorised optional numeric parameter for offset in years

Details

Reference: Nankivell BJ, Chapman JR, Allen RD: Predicting glomerular filtration rate after simultaneous pancreas and kidney transplantation. Clin Transplant 1995; 9(2): 129-134

Value

numeric vector of eGFR values

Examples

1
nankivell_spk_US(SCr = 1.33, Age = 74, Sex = "M", Weight = 172, Height = 172) # 49.0

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