detect_iodine: Determining Iodine Status in Population

View source: R/find_iodine_deficiency.R

detect_iodineR Documentation

Determining Iodine Status in Population

Description

Identification of population iodine intake using urinary iodine concentration

Usage

detect_iodine(x, group = c("general", "pregnant", "lactating"))

detect_iodine_general(x)

detect_iodine_pregnant(x)

detect_iodine_lactating(x)

Arguments

x

Either the single median value of the urinary iodine (μg/L) of the population of interest or the vector of urinary iodine (μg/L) values of the population of interest.

group

The population group of interest as described below:

Population Short-form
School-age-children (6 years or odler) "general"
Pregnant Women "pregnant"
Lactating Mothers and Children under 2 years old "lactating"

This should be specified using the short-form of the population group of interest. Default to "general".

Value

A character vector indicating the iodine intake status of the population of interest.

Examples

 # Create testing data
 x <- runif(20, min = 10, max = 350)

 # For individual target group function;
  detect_iodine_general(x)   # school-age-children (6 years or above)
  detect_iodine_pregnant(x)  # pregnant
  detect_iodine_lactating(x) # lactating or U2 children


 # For overall population function;
  detect_iodine(x = x, group = "general")

  detect_iodine(x = x, group = "pregnant")

  detect_iodine(x = x, group = "lactating")

 # test with sample dataset
 dta <- subset(iodine, group == "Child")
 detect_iodine(x = dta$iodine, group = "general")


nutriverse/nutricheckr documentation built on April 1, 2022, 7:44 p.m.