Description Usage Arguments Value Author(s) See Also Examples
This function removes all selection criteria for the given dimensions. The cube itself will not be changed. The selection criteria only affect the data that will be shown when printing the cube.
1 | remove.selection(x, dimensions)
|
x |
Hypercube for which the selection criteria will be defined. |
dimensions |
A vector of dimension names for which all selection criteria will be removed. |
Returns a Cube
object with removed selection criteria.
Michael Scholz michael.scholz@th-deg.de
Cube
add.selection
remove.aggregation
1 2 3 4 5 6 7 8 | data("sales")
print(str(sales))
cube = generateCube(sales, columns = list(time = c("month", "year"),
location = c("state"), product = "product"), valueColumn = "amount")
cube = add.selection(cube, criteria = list(state = c("CA", "FL")))
cube
cube = remove.selection(cube, dimensions = c("state"))
cube
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.