[R] Data Cube in R from CSV
    dajohnst 
    dajohnston at ucdavis.edu
       
    Fri Sep 17 23:37:41 CEST 2010
    
    
  
(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 context: http://r.789695.n4.nabble.com/Data-Cube-in-R-from-CSV-tp2544404p2544486.html
Sent from the R help mailing list archive at Nabble.com.
    
    
More information about the R-help
mailing list