Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cube-methods

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


crunch

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.