Compute quantiles from NHANES weighted survey data
nhanes_analyze(analysis_fun, nhanes_data, column, comment_column = "", weights_column = "", filter = NULL)
analysis_fun | function to use to analyze each variable |
---|---|
nhanes_data | data frame containing NHANES data |
column | column name of the variable to compute quantiles for |
comment_column | comment column name of the variable |
weights_column | name of the weights column |
filter | logical expression used to subset the data |
a data frame