Skip to content

Commit

Permalink
Update README syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
zeehio committed May 24, 2015
1 parent 0db32cd commit 11903ab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ To use:
data(iris)
library(condformat)
condformat(iris) +
rule_highlight(column="Species",
condition="Sepal.Width > Sepal.Length - 2.25",
css="background: #7D00FF") +
rule_fill_gradient2(column="Sepal.Length")
rule_fill_discrete(Sepal.Width,
expression=Sepal.Width > Sepal.Length - 2.25,
colours = c("TRUE" = "#7D00FF")) +
rule_fill_discrete(Species) +
rule_fill_gradient2(Sepal.Length)
```

0 comments on commit 11903ab

Please sign in to comment.