Is there a way to display axis tick marks using one measurement but display labels based on a different measurement?
I have been asked to plot a Kaplan-Meier curve with the x-axis showing tick marks as weeks but labeling in months. This is not as simple as assuming that a month has exactly 4 weeks. I am using the formula: MONTHS=(WEEKS*7)/30.4375. Thus, 8 weeks will not appear as 2 months but rather 1.84 months. In other words, my labels will be slightly off of my tick marks as I attempt to display below:
If you want, you can totally suppress the individual tickmark values by using 'value=none' on the axis statement.
SAS INNOVATE 2024
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.