vswitch | R Documentation |
Vectorized Switch Statement
vswitch(x, ...)
x |
The condition statement |
... |
name-value pairs where name repesents cases of condition statement and values represent the value it will take on in each case. |
Returns value for the given case.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.