anemia: Diagnosis of anemia from Hb concentration

View source: R/anemia.R

anemiaR Documentation

Diagnosis of anemia from Hb concentration

Description

KDIGO Clinical Practice Guideline for Anemia in Chronic Kidney Disease Volume 2 | Issue 4 | August (2) 2012

Usage

anemia(...)

## S3 method for class 'data.frame'
anemia(.data, Hb, age, male, ...)

## S3 method for class 'units'
anemia(Hb, age, male, ...)

## S3 method for class 'numeric'
anemia(Hb, age, male, ...)

Arguments

...

Further optional arguments

.data

(data.frame) A data.frame, optional

Hb

Hemoglobin concentration column name, or vector of units or numeric if .data is not provided

age

Age of patient column name, or vector of units or numeric if .data is not provided

male

Male or not column name, or vector of logical (TRUE/FALSE) if .data is not provided

Details

  • Adults and children >15 years with CKD when the Hb concentration is <13.0 g/dl (<130 g/l) in males and <12.0 g/dl (<120 g/l) in females.

  • Children with CKD if Hb concentration is <11.0 g/dl (<110 g/l) in children 0.5-5 years, <11.5 g/dl (115 g/l) in children 5-12 years, and <12.0 g/dl (120 g/l) in children 12-15 years.

See https://kdigo.org/guidelines/anemia-in-ckd/ for more details.

Value

Anemia as logical TRUE or FALSE

Examples

anemia(anemia_pt_data, Hb = "Hb", age = "age", male = "male")

anemia_pt_data %>%
  dplyr::mutate(anemia = anemia(Hb = Hb, age = age, male = male))

epocakir documentation built on Jan. 6, 2023, 5:25 p.m.