| applycols | R Documentation |
Apply a function to selected columns
applycols(data, cols, fun, ...)
data |
A data.frame. |
cols |
Character vector of column names. |
fun |
Function applied to each element, column, or group. |
... |
Additional arguments (unused, or passed through depending on the function). |
data with the selected columns transformed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.