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")
numeric vector of blood urea nitrogen levels (mg/dl)
units for urea ("SI" for mmol/l, "US" for mg/dl)
numeric vector of urea levels
# NOT RUN {
bun_to_urea(8.0)
# }
Run the code above in your browser using DataLab