Dear all,
is it possible to format the values of variables/ variablenames displayed in a vbox displaystats xaxis table
I displayed the following displaystats=(mean median min max)
This is displayed in the xaxistable, I will like to change the name of the mean variable to something else. The size and colors of the variables. Any help?
proc sgplot data=sashelp.class;
vbox age / category=sex displaystats=(mean median min max);
run;
Unfortunately, no. Your best option is to calculate these your self using PROC MEANS or PROC SUMMARY, match merge the result with the original data, and display it using the XAXISTABLE statements. You can set whatever format (and labels, if you want) on the columns in the data step. The labeling, size and color can be controlled from the XAXISTABLE statements. Let me know if you need more details on how to do this.
Unfortunately, no. Your best option is to calculate these your self using PROC MEANS or PROC SUMMARY, match merge the result with the original data, and display it using the XAXISTABLE statements. You can set whatever format (and labels, if you want) on the columns in the data step. The labeling, size and color can be controlled from the XAXISTABLE statements. Let me know if you need more details on how to do this.
@DanH_sas okay, thanks. I will try that
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.