esac | R Documentation |
Equivalent of nested ifelse with alternating conditions and values
esac(...)
... |
a sequence of alternating arguments with each pair consisting
of a vector logical argument followed by a vector of values to be returned in
the positions in which the logical argument is TRUE. Each pair
corresponds to the first two arguments of a |
a vector consisting of the value vector corresponding to the first logical vector that evaluates to TRUE in a position.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.