Hi all,
I have about 48 data sets named
pfreq_and_pl_g1_gr1
pfreq_and_pl_g1_gr2
pfreq_and_pl_g1_gr3
pfreq_and_pl_g1_gr4
pfreq_and_pl_g2_gr1
pfreq_and_pl_g2_gr2
...
"g" goes up to 12.
and "gr" goes up to 4.
I want to merge them based on the "g". For example one merged data set will include (pfreq_and_pl_g1_gr1, pfreq_and_pl_g1_gr2, pfreq_and_pl_g1_gr3, pfreq_and_pl_g1_gr4), the other data set will include (pfreq_and_pl_g2_gr1, pfreq_and_pl_g2_gr2, pfreq_and_pl_g2_gr3, pfreq_and_pl_g2_gr4).
Merging will be based on the data set's name, not a variable. How can I do that?
Thank you
... View more