Help using Base SAS procedures

Procedure to get overview over variables

Reply
N/A
Posts: 0

Procedure to get overview over variables

Hi

How can I - for each observation - get an overview over which values they have on two or three variables? Something like this:

....................Variable1.........Variable2............Variable3
Observation1......x....................y...........................x
Observation2......y...................y.............................z
Observation3......y...................y...........................y
Observation4......x..................x............................y

As far as I remember, there is a simple procedure for doing this, but I cant find it.

Thank you
Super User
Posts: 11,343

Re: Procedure to get overview over variables

Posted in reply to deleted_user
Proc print looks like what you're looking for.

Proc print data=;
var ;
run;
Ask a Question
Discussion stats
  • 1 reply
  • 89 views
  • 0 likes
  • 2 in conversation