[R] paste dimnames problem
Arne.Muller@aventis.com
Arne.Muller at aventis.com
Tue Apr 27 11:26:58 CEST 2004
Hello,
I've the following list n:
> n
[[1]]
[1] "NEW" "OLD" "PRG"
[[2]]
[1] "04h" "24h"
[[3]]
[1] "000mM" "010mM" "025mM" "050mM" "100mM"
where
n <- dimnames(some.multidim.array)
I'm trying to define a generic function that generates meaningful names from this list, e.g. NEW.04h.000mM would be the first name, then NEW.04h.010mM, ... . Overall this would generate 30 names (3*2*5). Here, this would be 3 cascaded loops, but the dimensions of the array should be flexible.
What would suggest?
I'm happy for your comments,
+regards,
Arne
More information about the R-help
mailing list