correct_hb: Correct haemoglobin based on altitude and/or smoking status

View source: R/01-correct_haemoglobin.R

correct_hbR Documentation

Correct haemoglobin based on altitude and/or smoking status

Description

Correct haemoglobin based on altitude and/or smoking status

Usage

correct_hb(hb = NULL, alt = NULL, smoke = NULL)

Arguments

hb

A numeric value or numeric vector of serum haemoglobin concentration/s in grams per litre (g/l)

alt

Altitude, in metres, above sea level

smoke

Simple integer code for smoking status classification: 0 = non-smoker; 1 = any smoker or half packet up to less than 1 packet a day; 2 = 1 up to less than 2 packets a day; 3 = 2 or more packets a day.

Value

A numeric value or numeric vector of corrected serum haemoglobin concentration/s in grams per litre (g/l)

Author(s)

Ernest Guevarra

Examples

correct_hb(hb = mnData$hb[1], alt = mnData$altitude[1], smoke = 1)


nutriverse/micronutr documentation built on Dec. 19, 2024, 12:06 p.m.