Monday, October 31, 2022

How can I get several variables' mean values at the smae

I want to create a vector containing several variables' mean values. But the summarize command only return the last variables' mean value stored in r(mean).

Although I can make it by repeating the summarize command, I just want to ask if there is any command can return a list of variables' mean values?

No comments:

Post a Comment