search for: array_1

Displaying 1 result from an estimated 1 matches for "array_1".

Did you mean: array_t
2011 Mar 07
1
Array Help
Hi, I have two 3 D arrays. Both are of this form array_1<- array[n,n,k] array_2<-array[m,m,k] Lets say n=83 and m=80 Since n>m. I would like to add rows and columns to array_2 to make them equal. I want to keep the size of the third dimension fixed i.e.. k. i.e. if (nrow(array_1)>nrow(array_2)) { array_2[m:n,m:n,]<- 10^6 } But this doe...