Help using Base SAS procedures

How to stack columns?

Reply
N/A
Posts: 1

How to stack columns?

I created code that allowed me to stack multiple columns of data into the same row vertically but I want the stacked column to correspond with ID number(another column in the dataset).  Any ideas on how to do this?  The stacked table I generated was organized by ID number but paired with it.  I need them paired in order to do one-way ANOVA.

Super User
Posts: 11,343

Re: How to stack columns?

It would be helpful to post an example of your current data and what you would like for a result.

I suspect that you may be looking for a transpose of some sort but can't tell for sure.

Ask a Question
Discussion stats
  • 1 reply
  • 254 views
  • 1 like
  • 2 in conversation