(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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.