cube-computing: Work with CrunchCubes
Description
Crunch.io supports more complex data types than base R does, such as
multiple response and array types. If you want to compute margin or
proportion tables on an aggregation of these variable types, special methods
are required. These functions provide an interface like
margin.table
and prop.table
for
the CrunchCube object, handling those special data types.
Usage
"margin.table"(x, margin = NULL)
"prop.table"(x, margin = NULL)
"round"(x, digits = 0)
Arguments
margin
index, or vector of indices to generate margin for. See
prop.table
Value
The appropriate margin.table or prop.table.