Description Usage Arguments Details Value Examples
Conditional Element Selection
1 |
test |
an object which can be coerced to logical mode. |
yes |
return values for true elements of |
no |
return values for false elements of |
... |
further arguments to be passed to |
A refined version of ifelse
that allows for
factor appending.
If either yes
or no
are of class factor
,
the function returns an object of class factor
whereas levels are
determined using cfactor
internally. Otherwise, the base
method is called directly.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.