dimensions {crunch}R Documentation

Methods on Cube objects

Description

These methods provide an array-like interface to the CrunchCube object.

Usage

dimensions(x)

dimensions(x) <- value

measures(x)

## S4 method for signature 'CubeDims'
dimnames(x)

## S4 method for signature 'CubeDims'
dim(x)

## S4 method for signature 'CubeDims'
is.na(x)

## S4 method for signature 'CrunchCube'
dimensions(x)

## S4 replacement method for signature 'CrunchCube,CubeDims'
dimensions(x) <- value

## S4 method for signature 'CrunchCube'
dim(x)

## S4 method for signature 'CrunchCube'
dimnames(x)

## S4 method for signature 'CrunchCube'
measures(x)

Arguments

x

a CrunchCube or its CubeDims component.

value

for ⁠dimensions<-⁠ a CubeDims object to overwrite a CrunchCube dimensions

Value

Generally, the same shape of result that each of these functions return when applied to an array object.

See Also

cube-computing base::array


[Package crunch version 1.30.1 Index]