From 11903abf74590e5a8b6adc2d47d1b9e8aed7ee2c Mon Sep 17 00:00:00 2001 From: Sergio Oller Date: Mon, 25 May 2015 00:00:04 +0200 Subject: [PATCH] Update README syntax --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f0418b6..cf0898e 100644 --- a/README.md +++ b/README.md @@ -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) ```