Skip to contents

Convert Serum Creatinine Concentration Units

Usage

convert_creat(creat)

Arguments

creat

serum creatinine concentration (µmol/L)

Value

Serum Creatinine concentration (mg/dL)

See also

Other unit_conversion: convert_alb(), convert_bili()

Examples

convert_creat(88.42) # ≈ 1 mg/dL
#> [1] 1.000207
#> attr(,"units")
#> [1] "mg/dL"

df <- data.frame(
  ID = c(1, 2, 3, 4),
  CREAT = c(70, 90, 110, 130)
)

df <- df %>%
  dplyr::group_by(ID) %>%
  dplyr::mutate(CREATBL = convert_creat(CREAT))
df
#> # A tibble: 4 × 3
#> # Groups:   ID [4]
#>      ID CREAT CREATBL
#>   <dbl> <dbl>   <dbl>
#> 1     1    70   0.792
#> 2     2    90   1.02 
#> 3     3   110   1.24 
#> 4     4   130   1.47