capply {data.cube}R Documentation

Apply function on measures while aggregate on cube dimensions

Description

Wrapper around '[[.cube' and 'j', 'by' arg.

Usage

capply(x, MARGIN, FUN, ...)

Arguments

x

cube object

MARGIN

character or list

FUN

function

...

arguments passed to *FUN*

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]