I have the following dataset:
Site ID | Total Screened | Enrolled |
1 | 2 | 1 |
2 | 3 | 2 |
3 | 5 | 3 |
4 | 5 | 4 |
5 | 5 | 1 |
Total | 20 | 11 |
What I would like to do is have nicer LATEX OUTPUT to this:
The code I have set up is this:
ods tagsets.simplelatex file="C:\site.tex" (notop nobot)
stylesheet="sas.sty" (url="sas"); options linesize=256 ;
proc report data=o.site_status_list nowindows headline headskip style(header)={font_weight=bold} style(report)={outputwidth=75%};
column siteID Total_Screened Enrolled;
define siteID/display "Site ID" width = 14 ;
define Total_Screened/ display "Total Screened" width =14;
define Enrolled/ display "Enrolled" width =14;
run;
ods tagsets.simplelatex close;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.