Description Usage Arguments Value Examples
Pastes something only if the condition is met.
1 |
... |
one or more R objects, to be passed to paste0 if cond is TRUE. |
sep |
default "" - equiv. to paste0 |
cond |
boolean, condition to be true. |
return_value |
string. If condition is false returns return_value
. default is NULL
1 | pasteif("1", "st", cond = (3 < 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.