importance {hypercube}R Documentation

Calculates the dimension importances of a given cube.

Description

Calculates the importance values for all dimensions 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

importance(x)

Arguments

x

The Cube object for which the importance values will be computed.

Value

Sparsity value

Author(s)

Michael Scholz michael.scholz@th-deg.de

See Also

sparsity

Examples


data("sales")
cube = generateCube(sales, columns = list(time = c("month", "year"),
      location = c("state"), product = "product"), valueColumn = "amount")
importance(cube)


[Package hypercube version 0.2.1 Index]