sparsity {hypercube} | R Documentation |
Calculates the sparsity of a given cube.
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
sparsity(x)
Arguments
x |
The |
Value
Sparsity value
Author(s)
Michael Scholz michael.scholz@th-deg.de
See Also
Examples
data("sales")
cube = generateCube(sales, columns = list(time = c("month", "year"),
location = c("state"), product = "product"), valueColumn = "amount")
sparsity(cube)
[Package hypercube version 0.2.1 Index]