BookmarkSubscribeRSS Feed
Lollieboo
Calcite | Level 5

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?

1 REPLY 1
ballardw
Super User

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.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

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. 

Register now!

How to Concatenate Values

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 335 views
  • 0 likes
  • 2 in conversation