Isolate_Aggr: Isolate and Aggregate

Description Usage Arguments Value

View source: R/Isolate_Aggr.R

Description

This function is used to make a list of trees, one for each unique value in the isolate column in the data.frame df

Usage

1
Isolate_Aggr(df, isolate, over, attrs = NULL, aggFun = sum)

Arguments

df

data.frame

isolate

symbol, a pathString (or other) field which will be held constant

over

symbol, a pathString field which will be aggregated according to hierarchy

attrs

character, optional. Vector of attributes to aggregate. Default is all attributes.

aggFun

function, optional. The function to be used to aggregate each attribute. Default is sum.

Value

data.frame


aecoleman/msraggr documentation built on Nov. 1, 2019, 8:59 p.m.