Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example to combine for missing = TRUE #507

Open
1beb opened this issue Sep 27, 2020 · 0 comments
Open

Add example to combine for missing = TRUE #507

1beb opened this issue Sep 27, 2020 · 0 comments
Assignees

Comments

@1beb
Copy link
Contributor

1beb commented Sep 27, 2020

Example needed for combine where the goal is to set the category(ies) to missing:

ds$BIDBAT2C <- crunch::combine(
  ds$BIDBAT2,
  name = "Grid (Collapsed)",
  combinations = list(
    list(
      name = "True", 
      categories = c("Mostly true", "More true than false")
    ),
    list(
      name = "False", 
      categories = c("Mostly false", "More false than true")
    ),
    list(name = "zzz", categories = "Not sure", missing = TRUE)
  )
@1beb 1beb self-assigned this Sep 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant