View source: R/factor_glucose_fasting.R
factor_glucose_fasting | R Documentation |
* 'factor_glucose_fasting()' classifies fasting glucose as Normal (NFG), Impaired (IFG), or Diabetes (DM2)
factor_glucose_fasting(x)
x |
A glucose value, or vector of values, in mg/dL. Converts a number entered as a string to numeric if possible, otherwise returns 'NA' |
A Factor for OGTT classification of fasting and 2hr glucose
factor_glucose_fasting(155)
factor_glucose_fasting(c(120, 130, 150, 200))
factor_glucose_fasting(c(120, 130, NA, 200))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.