cockcroft {transplantr} | R Documentation |
Creatinine clearance by Cockcroft-Gault equation
Description
A vectorised function to estimate creatinine clearance using the Cockcroft-Gault equation. By default this uses serum creatinine in µmol/l but can be changed to mg/dl by setting the units parameter to "US"
Usage
cockcroft(creat, age, sex, weight, units = "SI")
Arguments
creat |
numeric vector of creatinine levels in µmol/l (or mg/dl if units = "US") |
age |
numeric vector of ages in years |
sex |
character vector of sex ("F" = female, "M" = male) |
weight |
numeric vector of weights in kilograms |
units |
non-vectorised parameter for creatinine units ("SI" for µmol/l (default) or "US" for mg/dl) |
Details
Reference: Cockcroft DW, Gault MH. Prediction of creatinine clearance from serum creatinine. Nephron 1976; 16(1):31-41
Value
numeric vector of creatinine clearances in ml/min
Examples
# calculate creatinine clearance using creatinine in µmol/l
cockcroft(creat = 88.4, age = 25, sex = "F", weight = 60)
# calculate using creatinine in mg/dl
cockcroft(creat = 1, age = 25, sex = "F", weight = 60, units = "US")
[Package transplantr version 0.2.0 Index]