[[.cube {data.cube}R Documentation

Extract cube

Description

Extract cube

Usage

## S3 method for class 'cube'
x[[i, j, by]]

Arguments

x

cube object

i

list of values used to slice and dice on cube

j

expression to evaluate on fact

by

expression/character vector to aggregate measures accroding to *j* argument.

Value

Cube class object

Note

Consider to use data.cube class objects instead. data.cube is a set of R6 classes for cube/fact/dimension/etc and will be more actively developed than cube class.


[Package data.cube version 0.4.0 Index]