> On Sep 14, 2016, at 12:33 PM, Peter Lomas wrote:
>
> Hello R-Helpers,
>
> I'm trying to to create a subtotal category for each column in a
> dataset, and totals of subtotals, resulting in one data frame. I
> figure I could do this by a whack of aggregate() and rbind(), but I'm
> hoping there
Hello R-Helpers,
I'm trying to to create a subtotal category for each column in a
dataset, and totals of subtotals, resulting in one data frame. I
figure I could do this by a whack of aggregate() and rbind(), but I'm
hoping there is a simpler way.
Below is a sample dataset. Underneath I create a
2 matches
Mail list logo