Hello!
I have multiple frequency tables which I've ouputted to a PDF, where each table is for one of n sites from the a given data set. I'd like to join these n tables together into one, however. Would you have suggestions for how?
Many thanks in advance!
Use
ODS OUTPUT ONEWAYFREQS;
To clarify, I have tables in this format:
Title: Site1
Freq Count
RA=Treatment
RA= Control
but I'd like it as follows
Site1 Freq Count
RA=Treatment
RA= Control
Site2
RA=Treatment
RA= Control
Site3
RA=Treatment
RA= Control
...
Would onewayfreqs work for this?
Thank you!
Look at proc tabulate instead since I assume you're using ODS.
If you want a bit more manual control look at the code here:
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.