Aggregate data.frame by a categorical variable, permissively.
1 | aggregate_nice(x, by, FUN, ...)
|
A wrapper for aggregate(). Accepts atomic "by" argument. Guaranteed to return a matrix. Also returns the aggregation levels in the rownames instead of adding a column for them.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.