Description Usage Arguments Value Examples
Compute detection frequencies of NHANES data
1 2 | nhanes_detection_frequency(nhanes_data, column, comment_column,
weights_column = "", filter = NULL)
|
nhanes_data |
data frame containing NHANES data |
column |
column names of the variables to compute detection frequencies for |
comment_column |
comment column names of the variables to compute detection frequencies for |
weights_column |
sample weight column |
filter |
logical expression used to subset the data |
named vector of detection frequencies
1 2 3 4 5 6 7 | ## Not run:
dat <- nhanes_load_data("UHG_G", "2011-2012", demographics = TRUE)
# Compute detection frequency
nhanes_detection_frequency(dat, c("URXUHG"), c("URDUHGLC"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.