detect_anaemia_u5: Determine haemoglobinaemia status for various population groups
Description
This set of functions identifies haemoglobinaemia in specific target groups
such as children under 5 years (u5), children 5-11 years of age
(5to11), children 12-14 years of age (12to14), non-pregnant women 15
years and above (np_women), pregnant women (pregnant), and men
(men).
If label is TRUE, a character value or character vector of
haemoglobinaemia status classification (can be either "severe anaemia" or
"moderate anaemia", "mild anaemia", or "no anaemia"). If label is FALSE,
an integer value or integer vector of haemoglobinaemia status
classification (0 = no anaemia; 1 = mild anaemia; 2 = moderate anaemia;
3 = severe anaemia)
Arguments
hb
A numeric value or numeric vector containing haemoglobin values in
grams per litre (g/L).
label
Logical. Should labels be used to classify haemoglobinaemia?
If TRUE (default), status is classified as "no anaemia", "mild anaemia",
"moderate anaemia", or "severe anaemia". If FALSE, simple integer codes
are returned: 0 for no anaemia; 1 for mild anaemia; 2 for moderate anaemia;
3 for severe anaemia.
group
A character value specifying the population target group to
identify haemoglobinaemia from. Can be either one of u5, 5to11,
11to14, np_women, pregnant, or men. Default is u5.