|
Helge ,
I hve a macro Call %FreqAll which generates a data set that can be reported
off of, essentually it allows you the programmer to create the output table
anyway you want.
The core of the code is simple enough:
ODS Listing Close ;
ODS Output OneWayFreqs = MyFreqs ;
Proc Freq
Data = Whatever ;
Table<Your Vars Here> ;
Run ;
ODS Listing ;
Toby Dunn
Comprimise is like telling a lie, it gets easier and easier. Each
comprimise you make, that becomes your standard.
Perfection doesnt exist, once you reach it, its not perfect anymore. It
means something else.
From: Helge <h3L93.ph1l1pp@GMAIL.COM>
Reply-To: Helge <h3L93.ph1l1pp@GMAIL.COM>
To: SAS-L@LISTSERV.UGA.EDU
Subject: Multiple variables in one frequency table
Date: Wed, 29 Aug 2007 15:16:13 -0000
Hi all!
I (not very advanced, have been using SAS/EGuide for one month now)
would like to generate a table of frequencies with multiple variables.
When using PROC FREQ with several variables, I always get as many
seperate tables.
My data table has several columns with Yes/No values that I would like
to have in that table.
Is there something I missed or is there a better method to generate
such a simple table?
Helge.
_________________________________________________________________
See what you’re getting into…before you go there
http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507
|