View source: R/01-correct_haemoglobin.R
correct_hb | R Documentation |
Correct haemoglobin based on altitude and/or smoking status
correct_hb(hb = NULL, alt = NULL, smoke = NULL)
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. |
A numeric value or numeric vector of corrected serum haemoglobin concentration/s in grams per litre (g/l)
Ernest Guevarra
correct_hb(hb = mnData$hb[1], alt = mnData$altitude[1], smoke = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.