bun_to_urea: Convert BUN to urea

Description Usage Arguments Value Examples

View source: R/unit_conversion.R

Description

A vectorised function to convert blood urea nitrogen (BUN) to urea. The default unit for urea is mmol/l but this can be changed to mg/dl by setting the optional units parameter to "US"

Usage

1
bun_to_urea(BUN, units = "SI")

Arguments

BUN

numeric vector of blood urea nitrogen levels (mg/dl)

units

units for urea ("SI" for mmol/l, "US" for mg/dl)

Value

numeric vector of urea levels

Examples

1

Example output

[1] 2.8568

transplantr documentation built on Feb. 28, 2020, 5:07 p.m.