Learn R Programming

hypercube (version 0.2.1)

importance: 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

See Also

sparsity

Examples

Run this code
# NOT RUN {
data("sales")
cube = generateCube(sales, columns = list(time = c("month", "year"),
      location = c("state"), product = "product"), valueColumn = "amount")
importance(cube)

# }

Run the code above in your browser using DataLab