[R] about a series of arrays

Z P nusbj at hotmail.com
Mon Mar 29 09:03:18 CEST 2004


Dear all,

I now have a sequence of n<-3:21, for each i, I define an array of dimension
array((1/2)^i,c(rep(2,i))), I must update the (i+1)-th array with a loop 
according to the i-th array, How can I store all the previous arrays (the 
marginal parts of the (i+1)-th array will not equal to the i-th array)? It 
is in an iteration from 3 to 21, I later will need all the arrays. If I 
define 19 different variables, I still can not assign arrays to them in the 
iteration. What can I do? Thanks.

Regards,

Zhen




More information about the R-help mailing list