[R] label array

From: downunder03 <larsfromspace_at_web.de>
Date: Wed 03 Jan 2007 - 14:55:04 GMT

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--label-array-tf2913929.html#a8142071
Sent from the R help mailing list archive at Nabble.com.

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu Jan 04 01:59:34 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 03 Jan 2007 - 18:30:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.