rules <- validator( x > 0
, if (x > 0) y == 1
, A %in% c("a1", "a2")
, if (A == "a1") y > 1
)
simplify_rules(rules)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.