# for a single patient
egfr.mdrd4 (creatinine = 1.4, age = 60, sex = "Male", ethnicity = "White",
creatinine_units = "mg/dl")
# for a dataset - see vignettes for details
# egfr.mdrd4 (creatinine = dta$scr, age = dta$age, sex = dta$sex,
# ethnicity = dta$race, creatinine_units = "mg/dl")
Run the code above in your browser using DataLab