View source: R/format_condition.R
| format_condition | R Documentation |
Convert a character vector of predicate names into a standardized string representation of a condition. Predicates are concatenated with commas and enclosed in curly braces. This formatting ensures consistency when storing or comparing conditions in other functions.
format_condition(condition)
condition |
A character vector of predicate names to be formatted. If
|
A character scalar containing the formatted condition string.
Michal Burda
parse_condition(), fire()
format_condition(NULL)
format_condition(character(0))
format_condition(c("a", "b", "c"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.