Skip to contents

Convert creatinine values between measurement units.

Usage

service.convert_creatinine(
  creatinine,
  creatinine_units,
  creatinine_reference_units = "mg/dl"
)

Arguments

creatinine

Numeric. The creatinine value from a data set.

creatinine_units

Character. Creatinine mesurement units in a data set.

creatinine_reference_units

Character. Creatinine measurement units as a desired output (mg/dl by default).

Value

numeric Creatinine values converted into reference measurement units.

Details

Service function which check measurement units and convert creatinine values to selected by user.