Description Usage Arguments Examples
See https://clojuredocs.org/clojure.core/case.
1 |
obj |
An object/value. |
... |
An odd number of expressions. A set of test/expression
pairs plus an expression to be evalauted if all tests fail. Equivalent
of nested |
1 2 3 4 5 6 7 8 | caseveq(x,
Inf, "infinity",
as.numeric(NA), "not available",
"other")
# Is transformed to:
# ifelse(x == Inf, "infinity",
# ifelse(x == as.numeric(NA), "not available",
# "other"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.