sparsity: Calculates the sparsity of a given cube.

Description Usage Arguments Value Author(s) See Also Examples

Description

Calculates the sparsity of the actual view of a Cube object. All added selections and aggregations will be regarded. Note that selection criteria will be applied before aggregating the data.

Usage

1

Arguments

x

The Cube object for which the sparsity will be computed.

Value

Sparsity value

Author(s)

Michael Scholz michael.scholz@th-deg.de

See Also

importance

Examples

1
2
3
4
data("sales")
cube = generateCube(sales, columns = list(time = c("month", "year"),
      location = c("state"), product = "product"), valueColumn = "amount")
sparsity(cube)

hypercube documentation built on March 26, 2020, 7:52 p.m.