I have a large number (17000) of 96x97 matrices with names b1,b2...b17000. I need to combine them into an array 96x97x17000. I am trying to do this through an array function:
s=array(b1,b2...b17000,dim=c(96,97,17000))
The problem is that for this function to work, you need to write down the name of all the matrices. How can this be done without writing down the name of the matrices 17,000 times?
I tried to set this as a range b1:b17000 but it does not work correctly.