return_if_single | R Documentation |
Reduce targets if more than one variable, return otherwise
return_if_single(.x, .f, ...)
.x |
a |
.f |
a reduction function to apply |
... |
arguments passed to |
a numeric vector, the reduced or original variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.