View source: R/map-quantiles.R
| nhanes_pa_age_category | R Documentation |
Ages are grouped into 10-year bins from [0,10) through [70,80). Ages
greater than or equal to 80 are assigned to the oldest available CDF
category, "[80,85)". Ages greater than 85 also map to "[80,85)", with a
warning by default.
nhanes_pa_age_category(age, warn = TRUE)
age |
Numeric age in years. |
warn |
Logical. If |
A character vector of NHANES age category labels.
nhanes_pa_age_category(c(8, 25, 84, 90))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.