dot-Isolate_Aggr: Isolate and Aggregate (Helper)

Description Usage Arguments Value

Description

Isolate and Aggregate (Helper)

Usage

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

Arguments

df

data.frame

isolate_path

character, value of isolate that will be isolated

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.