Description Usage Arguments Details Value AUTO Author(s) Examples
Given a set of grouping attributes, the data is aggregated for each unique combination of grouping attributes.
1 |
data |
an object of class |
segment |
an expression to produce the segments on. |
passes |
a list of sub-ggregates. See ‘details’ for more information. |
num.segments |
the number of segments to split the input GLA into. This should be at least the number of real CPUs times the number of passes, preferably twice that amount. |
This GLA can only be placed on top of other GLAs, not arbitrary
waypoints like most GLAs, and alters the way in which the input GLA is
computed. Rather than performing the input GLA on all of the data at
once, the data is split into num.segments
separate pieces and
the input GLA processes each segment separately, combining them
afterwards. For GLAs who use O(n) space or worse, where n
is the number of input tuples, this can serve to reduce the memory
needed by a factor up to num.segments * passes at the cost of
performance.
The result of the input GLA.
If segment = AUTO
, the first input expression of the input GLA
is used. If the input GLA contains no inputs, such as Count
, an
error is thrown. This should be used with caution, as typically
segment
should be resolved as a single attribute.
Jon Claus, <jonterainsights@gmail.com>, Tera Insights LLC
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.