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
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: