I have some data and code and I am producing a dendrogram using the proc tree statement as I have been instructed to do so.
However, my dataset has multiple thousands of observations, and printing thousands of labels for each observation is visually impractical. I would like to remove the labels from the x-axis of the dendrogram by amending the proc tree code, but I can't figure out how. The only thing I could find online to try was haxis=none, but that did not work.
Any advice?
It may help to show your proc tree code. Better would be to include a data step which reproduces some example data.
What other instructions were provided? If none, show who ever requested this the result and ask them if that is the desired output. Perhaps you should share all the "instructions" you were given.
How do you intend to interpret the graph without any axis labels?
And why would there be "thousands of labels" for each observation? The tree should show one point fore each value of a single variable. It sounds like perhaps you have a bad data model or structure to begin with.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.