Learn R Programming

transplantr (version 0.2.0)

cockcroft_US: Creatinine clearance by Cockcroft-Gault equation (US units)

Description

A wrapper function for cockcroft(), a vectorised function to estimate creatinine clearance using the Cockcroft-Gault equation, but using creatinine in mg/dl

Usage

cockcroft_US(creat, age, sex, weight)

Arguments

creat

numeric vector of creatinine levels in mg/dl

age

numeric vector of ages in years

sex

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

weight

numeric vector of weights in kilograms

Value

numeric vector of creatinine clearances in ml/min

Details

Reference: Cockcroft DW, Gault MH. Prediction of creatinine clearance from serum creatinine. Nephron 1976; 16(1):31-41

Examples

Run this code
# NOT RUN {
cockcroft_US(creat = 1, age = 25, sex = "F", weight = 60)
# }

Run the code above in your browser using DataLab