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

.col pronoun #19

Open
zeehio opened this issue Nov 11, 2018 · 0 comments
Open

.col pronoun #19

zeehio opened this issue Nov 11, 2018 · 0 comments

Comments

@zeehio
Copy link
Owner

zeehio commented Nov 11, 2018

I want to create a rule that applies to several columns and make the expression dependant on the column where it is applied.

Proposed syntax:

    condformat(iris) %>%
      rule_fill_discrete(c(Sepal.Length, Sepal.Width), .col > 3)

Equivalent to:

    condformat(iris) %>%
      rule_fill_discrete(Sepal.Length, Sepal.Length > 3) %>%
      rule_fill_discrete(Sepal.Width, Sepal.Width > 3)
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