nhanes_analyze: Compute quantiles from NHANES weighted survey data

View source: R/analyze.R

nhanes_analyzeR Documentation

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


SilentSpringInstitute/RNHANES documentation built on Feb. 15, 2024, 11:26 p.m.