View source: R/egfr_other_adults.R
egfr.cg.cr | R Documentation |
Calculate creatinine clearance by the Cockcroft-Gault equation
egfr.cg.cr(
creatinine,
age,
sex,
weight,
creatinine_units = "micromol/l",
label_sex_male = c("Male", 1),
label_sex_female = c("Female", 0),
max_age = 100
)
creatinine |
Numeric vector. Serum creatinine, could be expressed in "micromol/L", "mmol/L" or "mg/dL". Units of measurement should be defined in variable creatinine_units (if not defined explicitly by user, the default value is "micromol/L"). |
age |
Numeric vector. Age, in years. |
sex |
Vector. The value of variable refers to the parameters label_sex_male and label_sex_female. |
weight |
Numeric vector. Weight, kg. |
creatinine_units |
Character string. Units in which serum creatinne is expressed. Could be one of the following: "micromol/L", "mmol/L" or "mg/dL". |
label_sex_male |
List. Label(s) for definition(s) of male sex. |
label_sex_female |
List. Label(s) for definition(s) of female sex. |
max_age |
Numeric. Maximal age suitable for the equation application, in years. By default is 100 years, but change this value in case you would like to apply equation to older persons. |
Calculate Cockcroft-Gault by the Cockcroft-Gault equation.
Reference to the equation: Cockcroft, DW, Gault MH. Prediction of creatinine clearance from serum creatinine. Nephron. 1976. 16(1):31-41.
Citation: Bikbov B. kidney.epi: Kidney-Related Functions for Clinical and Epidemiological Research. Scientific-Tools.Org, https://Scientific-Tools.Org. DOI: 10.32614/CRAN.package.kidney.epi
numeric creatinine clearance expressed in ml/min/1.73m2.
Programming: Boris Bikbov https://www.linkedin.com/in/boris-bikbov.
# for a single patient
egfr.cg.cr (creatinine = 1.4, age = 60, sex = "Male",
weight = 80, creatinine_units = "mg/dl")
# for a dataset - see vignettes for details
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.