Description Usage Arguments Details Value Examples
Get means, sums and possibly other functions for a select number
of columns using dplyr::select
-style column selection.
1 2 3 4 5 6 7 8 9 |
data |
A data frame. |
... |
The columns to sum, take the mean of, etc. Required. |
na_rm |
Whether to remove |
varname |
The column name of the sums means etc. as a character string. |
.fun |
The function to apply. |
Simple wrappers for applying rowwise operations only for selected
columns within the tidyverse approach to data processing. The
row_apply
function requires a function that already works on rows.
A data frame with a new column representing the sums, means or whatever.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.