basic: Basic GLAs

Description Usage Arguments Details Value AUTO Author(s) See Also Examples

Description

Computes the given basic statistics for each of the specified columns.

Usage

1
2
3
4
5
Sum(data, inputs = AUTO, outputs = AUTO)

Average(data, inputs = AUTO, outputs = AUTO)

Count(data, inputs = AUTO, outputs = AUTO)

Arguments

data

an object of class "data".

inputs

which attributes of data to perform the GLA on.

outputs

the desired column names of the result.

Details

If outputs is not set to AUTO, then the attributes names of the result will be those specified by outputs.

Value

An object of class "data" with attributes names as discussed above. Upon conversion to a data frame, there will be a single row.

AUTO

In the case of AUTO for inputs, all attributes of the data are used. If outputs is AUTO, the names of the result are V0, V1, and so forth.

Author(s)

Jon Claus, <jonterainsights@gmail.com>, Tera Insights LLC

See Also

Summary

Examples

1
2
3
4
data <- Read(lineitem100g)
agg <- Sum(data, inputs = c(l_discount, l_tax), outputs =
  c(sum_discout, sum))
result <- as.data.frame(agg)

tera-insights/gtBase documentation built on May 31, 2019, 8:35 a.m.