Description Usage Arguments Examples
This function creates a dummy variable from D5 (Sexuality) called sex_nonstraight
and codes people who identify as heterosexual as 0 and everyone else as 1.
1 | om_dummy_nonstraight(assessment)
|
assessment |
assessment data |
1 2 | assessmentv7 %>%
om_dummy_nonstraight()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.