Description Usage Arguments Value Examples
Common switch that takes expression as vector (helper.R)
1 |
expression |
Expression vector |
... |
Cases and results. Results must be same class |
Result of case that matches expression[i]
1 | vectorSwitch(c("a","c"), a = 1, b = 2, c = 3, 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.