View source: R/map-quantiles.R
| nhanes_pa_quantile | R Documentation |
Evaluate a single NHANES physical activity quantile
nhanes_pa_quantile(
value,
age = NULL,
sex = NULL,
measure,
wave = NULL,
age_category = NULL
)
value |
Observed physical activity value. |
age |
Age in years. Set to |
sex |
Sex/gender. Common values such as |
measure |
Physical activity measure. Supported aliases include
|
wave |
Optional NHANES wave. Supported values are |
age_category |
Optional NHANES age category such as |
A numeric quantile in [0, 1], or NA_real_ when no matching CDF is
available.
nhanes_pa_quantile(
value = 15000,
age = 25,
sex = "Female",
measure = "mims"
)
nhanes_pa_quantile(
value = 15000,
age = 25,
sex = NULL,
measure = "mims",
wave = "2013-2014"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.