How to adjust the right column to center? thanks!
The code is :yaxistable HR_95_CI_ P p_for_interaction / location = inside position = right pad =(right = 15px)labelattrs =(size = 7)valueattrs =(size = 7);
Hello @shanzha,
Add the option
valuehalign=center
to the YAXISTABLE statement (cf. documentation). If this has an unwanted impact on the alignment of variables HR_95_CI_ and P, use a separate YAXISTABLE statement for p_for_interaction.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.