calculate_uacr_from_upcr: Calculate Urine Albumin/Creatinine ratio from...

View source: R/calculate_uacr_from_upcr.R

calculate_uacr_from_upcrR Documentation

Calculate Urine Albumin/Creatinine ratio from Protein/Creatinine ratio

Description

Estimated urine albumin creatinine ratio by converting urine protein/creatinine measurement, or by estimation from dipstick urinalysis (negative, trace, +, ++, +++). methods described in Sumida et al. Annals Int Med. 202.

Usage

calculate_uacr_from_upcr(
  PCR,
  gender,
  diabetic = NA,
  hypertensive = NA,
  PCR_units = "mg/g"
)

Arguments

PCR

urine Protein/creatinine ratio (mg/g creat.)

gender

Gender (Female/Male)

diabetic

Diabetic (T/F)

hypertensive

Hypertensive (T/F) using prior cutoff of >140/90 or on meds

PCR_units

urine Protein/creatinine units ("mg/g" default)

Value

Dataframe with predicted ACR (pACR) and estimated error

Examples

calculate_uacr_from_upcr(PCR = 1000, gender = "female", diabetic = T, hypertensive = T)
calculate_uacr_from_upcr(PCR = 500.0, gender = "female", diabetic = T, hypertensive = T)
calculate_uacr_from_upcr(PCR = 150, gender = "female", diabetic = T, hypertensive = T)

JMLuther/tabletools documentation built on April 14, 2025, 3:09 a.m.