Learn R Programming

transplantr (version 0.2.0)

bun_to_urea: Convert BUN to urea

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

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

Run this code
# NOT RUN {
bun_to_urea(8.0)
# }

Run the code above in your browser using DataLab