I have 48 variables with 267000*40 elements. I want to make this into datasets that looks like
- 267000*48=> for this one I want to find the mean of the rown and do the same thing as before.
My question is how do I make a function that gives me this without having to do it individually:
this is what I know I should do for each variable
but when I want to do it all at once for all 48 variables, how am I to do this?
Any kind of help is appreciated. Thank you.