View source: R/format_condition.R
format_condition | R Documentation |
Function takes a character vector of predicates and returns a formatted condition. The format of the condition is a string with predicates separated by commas and enclosed in curly braces.
format_condition(condition)
condition |
a character vector of predicates to be formatted |
a character scalar with a formatted condition
Michal Burda
format_condition(NULL) # returns {}
format_condition(c("a", "b", "c")) # returns {a,b,c}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.