anemia {epocakir}R 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

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))

[Package epocakir version 0.9.9 Index]