Displaying 1 result from an estimated 1 matches for "onlycomb".
Did you mean:
honeycomb
2011 Jun 14
1
Obtaining OLAP cubes using R
Hello All,
I have a dataset and I wish to obtain all possible data cuboids from it
using R . For eg if my data frame is :
A B C
1 1 1
1 2 1
2 2 1
The output intended is :
A=1
A=2
B=1
B=2
C=1
A=1,B=1
A=1,B=2
A=2,B=2
A=1,C=1
A=2,C=1
B=1,C=1
B=2,C=1
A=1,B=1,C=1
A=1,B=2,C=1
A=2,B=2,C=1
Are there any function(s) to do this in R ? I tried a combination of
expand.grid and