I am creating a horizontal bar graph with indicator variables, but would like to modify the ylabels such that it indicates the particular variable corresponding to the bar and are also modifiable (change "mean of rep_1" to "Avg. value for rep_1" for example). Here is a reproducible code:
Note that my real dataset only has the indicator variables (i.e. there are no usable categorical variables), so any alternatives using some other transformation rep78 would not work in my specific case.
Thanks for your help!
Code:
sysuse auto, clear tab rep78, gen(rep_) graph hbar rep_*
Thanks for your help!
Comment