I have a matrix A of order 150*24 and a second matrix B of order 50*24. I want to merge the matrix B in matrix A in such a way that row of matrix B are
[1,2,3,4,5,...,50]
merge in A in such a manner that the position of the rows of matrix B in matrix A become
[5,6,12,13,19,20,26,27,33,34,40,41,47,48,54,55,61,62,68,69,75,76,82,83,...]
so the matrix A become of order 200*24, how could I do this in R?