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"

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

bun_to_urea(8.0)
#> [1] 2.8568