[R] accessing arrays
downunder03
larsfromspace at web.de
Wed Jan 3 15:55:04 CET 2007
hi all. how can i adress a array directly. for example i wanna give array 1
other labels than array 2. How can I overcome this problem?
...this doesn't work
tab <- array(1:8, c(2, 2, 2))
dimnames(tab[,,1]) <- list(c("No","Yes"), c("No","Yes"),c("ARRAY1"))
dimnames(tab[,,2]) <- list(c("big","small"), c("small","big"),c("ARRAY2"))
--
View this message in context: http://www.nabble.com/-R--accessing-arrays-tf2913929.html#a8142071
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list