# for a single patient
egfr.schwartz (creatinine = 1.4, age = 10, height_cm = 90, sex = "Male",
creatinine_units = "mg/dl")
egfr.schwartz (creatinine = 1.4, age = 10, height_cm = 90, sex = "Male",
creatinine_units = "mg/dl", equation_type = "quadratic")
# for a dataset - see vignettes for details
# egfr.schwartz (creatinine = dta$scr, age = dta$age, height_cm = dta$ht,
# sex = dta$sex, creatinine_units = "mg/dl")
Run the code above in your browser using DataLab