Learn R Programming

crunch (version 1.14.4)

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

x
a CrunchCube
margin
index, or vector of indices to generate margin for. See prop.table
digits
see round

Value

The appropriate margin.table or prop.table.

See Also

margin.table prop.table