so my data looks like this:
data1 data2 data3 data4
1 2 3 4
2 3 4 5
3 4 5 6
I want to take the mean of the first three columns of data for each row and get a product sort of like this:
mean_123 data4
2 4
3 5
4 6
I know I'll probably need an for loop. My data is coming from a data frame that has the 4 columns of data in it.
Let's call it "data_frame_1"