This question is related or a follow-up to my previous post (Need suggestion on best way to add table column for an ID that does this....). On that post, my question was specifically answered and there were lots of tips I learned. However, I am again in need of a good suggestion on how to manipulate a table or matrix to transform it from the original form to the intended form.
Assuming this is my original table (or matrix of similar form):
Table 1: Original Table
| Column A | Column B | Column C | Column D |
| a | e | i | m |
| b | f | j | n |
| c | g | k | o |
| d | h | l | p |
I wanted each row from this table (or matrix) to be repeated "n" times such that the resulting table (or matrix) would look like this:
Table 2: Intended New Table Format
| Column A | Column B | Column C | Column D |
| a | e | i | m |
| a | e | i | m |
| a | e | i | m |
| a | e | i | m |
| b | f | j | n |
| b | f | j | n |
| b | f | j | n |
| b | f | j | n |
| c | g | k | o |
| c | g | k | o |
| c | g | k | o |
| c | g | k | o |
| d | h | l | p |
| d | h | l | p |
| d | h | l | p |
| d | h | l | p |
In the example above, each row from the original table was repeated "4" times.
As I was playing with "shaping" a matrix and applying the suggestion of concatenating tables "n" times from my previous post, I was able to create this table (from my original table)
Table 3: Some manipulated form of Table 1 done by Shaping the Matrix and Repeating the rows "n" times
| Column A | Column B | Column C | Column D | Column E | Column F | Column G | Column H | Column I | Column J | Column K | Column L | Column M | Column N | Column O | Column P |
| a | e | i | m | b | f | j | n | c | g | k | o | d | h | l | p |
| a | e | i | m | b | f | j | n | c | g | k | o | d | h | l | p |
| a | e | i | m | b | f | j | n | c | g | k | o | d | h | l | p |
| a | e | i | m | b | f | j | n | c | g | k | o | d | h | l | p |
However, I am stuck here. I would have wanted this table to look like my intended table (Table 2) as described above. I appreciate any comments and suggestions. I believe there are more intuitive and efficient ways of handling this than what I have in mind. Thanks.