run a function over a list or vector, as lapply does, but unlist the results before returning them - a common operation.
1 |
x |
a vector or list. |
fun |
the function to apply. |
unname |
whether or not to also unname the result. Set to TRUE by default. |
... |
further arguments to pass to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.