Sorry for the confusion, I'm not the best at explaining what I am trying to do
Basically I have a bunch of variables...
height_A_1M, height_D_1M, height _AD_1M, height_F_1M, height_U_1M, height _FU_1M,
weight_A_1M, weight_D_1M, weight _AD_1M, weight_F_1M,weight_U_1M, weight _FU_1M,
age_A_1M, age_D_1M, age _AD_1M, age_F_1M, age_U_1M, age _FU_1M
(and so on with a bunch of other variables)
I need to create a row matrix for each variable.
For example: for height I would want...
Row_height = c(height_A_1M, height_D_1M, height _AD_1M, height_F_1M, height_U_1M, height _FU_1M)
But since I will be having a bunch of variables, I was hoping to find a function that can do this automatically for all the variables haha.
This is what I am trying at the moment, but it isn't working ...
Thanks for all the help so far!!!