Hi,
I have a problem that could be easy to solve, but I haven't found an answer yet.
I would like to get rid of these numbers that seem to be auto-generated by SAS, but can't find a command to do so. I'm relatively new to SAS and I would appreciate any help this community can give. I hope displaying my code won't be necessary here.
Thank you.
The group labels for the at-risk table are group numbers, and these numbers appear in the legend. Numbers are used rather than the actual labels because the length of the longest label (13) is greater than the default that is set by the maximum label length option (MAXLEN=12). You can display labels rather than the group numbers by specifying a MAXLEN= value equal to the maximum group label length. So if you update the MAXLEN=13 then this should resolve the issue.
The group labels for the at-risk table are group numbers, and these numbers appear in the legend. Numbers are used rather than the actual labels because the length of the longest label (13) is greater than the default that is set by the maximum label length option (MAXLEN=12). You can display labels rather than the group numbers by specifying a MAXLEN= value equal to the maximum group label length. So if you update the MAXLEN=13 then this should resolve the issue.
Thank you! Specifying MAXLEN solved the problem!
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.