> z <- abind(x[,,1], c(4,5,6),along=0)
z is probably not what you want because you aren't using the drop=FALSE
argument. See the FAQ 7.5
abind, and arrays in general, are rectangular solids. They are not
ragged. For that you need lists. To get something like your request
> x
> , , 1
>
(resent as hotmail really cannot format plaintext, but I've just read
Tony Plate's message that what I'd like to do might not be possible)
>
> library(abind) ## array binding
I've looked into using abind() but it seems I might not understand it properly.
I can build my 2 table array and insert a
2 matches
Mail list logo