Learn R Programming

RNHANES (version 1.1.0)

nhanes_analyze: Compute quantiles from NHANES weighted survey data

Description

Compute quantiles from NHANES weighted survey data

Usage

nhanes_analyze(analysis_fun, nhanes_data, column, comment_column = "", weights_column = "", filter = NULL)

Arguments

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

Value

a data frame