Re: [R] Data Cube in R from CSV

2010-11-13 Thread clangkamp
Indeed I am looking for a View() type thing. Unfortunately I am no developer so I can just work with what is already there. The way forward is then to try everything with a very small cube which is still overseeable and then just do the same with the big one. But View() is really not good for larg

Re: [R] Data Cube in R from CSV

2010-09-19 Thread Ben Bolker
dajohnst ucdavis.edu> writes: > Why not use an array? > > An array can be indexed in as many dimensions as you would like, and do not > require any extra packages. > > x = array(1:27, dim = c(3, 3, 3)) > x > x[1, , ] > x[ , 1, ] > x[ , , 1] > An array is certainly the right structure to

Re: [R] Data Cube in R from CSV

2010-09-17 Thread dajohnst
(This is my first post -- I hope I am doing this right) Why not use an array? An array can be indexed in as many dimensions as you would like, and do not require any extra packages. x = array(1:27, dim = c(3, 3, 3)) x x[1, , ] x[ , 1, ] x[ , , 1] -David A. Johnston -- View this message in c

[R] Data Cube in R from CSV

2010-09-17 Thread clangkamp
Hello I am at the moment trying to get to grips with a data cube in R, and I am increasingly wondering whether I am actually making things unnecessarily difficult for myself. The idea is that I have a data cube with three dimensions (so a 3D matrix): companies, figures, and years. So along the z a