Description Usage Format Source
(data including this vignette and description etc. copied from Thomas Lumley's 'rimu' package https://github.com/tslumley/rimu) This data set contains variables on race and ethnic identification from the 2017 Youth Risk Behaviour Survey, together with two variables on smoking behaviour. The YRBS is a multistage cluster-sampled survey, so valid inference about associations requires using survey design information. This subset is useful only for demonstration purposes.
1 | data("usethnicity")
|
A data frame with 14765 observations on the following 4 variables.
Q41 is "Hispanic or Latino
Q5Character string with zero or more of: A. American Indian or Alaska Native, B. Asian, C. Black or African American, D. Native Hawaiian or Other Pacific Islander, E. White
QN301 is "smoked cigarettes on one or more of the past 30 days"
QN311 is "smoked more than 10 cigarettes per day on the days they smoked during the past 30 days", those who did not smoke at all are NA
https://www.cdc.gov/healthyyouth/data/yrbs/data.htm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.