Skip to content

Feature request: supporting dplyr::case_when() statements #12

@IndrajeetPatil

Description

@IndrajeetPatil

For example, the following code

  centrality <- case_when(
    type == "parametric" ~ "mean",
    type == "nonparametric" ~ "median",
    type == "robust" ~ "trimmed",
    type == "bayes" ~ "MAP"
  )

can be aligned to:

  centrality <- case_when(
    type == "parametric"     ~ "mean",
    type == "nonparametric"  ~ "median",
    type == "robust"         ~ "trimmed",
    type == "bayes"          ~ "MAP"
  )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions