a friendly version of tapply for dataframes
tapplydf(data, select = names(data), myfactor, ..., na.rm = c(TRUE, FALSE, NULL)[1])
Arguments
data |
dataframe |
select |
character, column names to calc |
myfactor |
a colname as factor |
... |
function to apply to data |
na.rm |
logical |
Value
a dataframe