capply | R Documentation |
A wrapper of apply that allows the user to quickly apply a function to every cell of a data frame.
capply(.data, .f)
.data |
a data frame. |
.f |
a function to be applied to every cell of the data frame. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.