Proc Tabulate Data=mort_models; Class ac / preloadfmt; Class subset; Class tt ; ClassLev tt / style={borderleftwidth=3 borderrightwidth=3 }; Var OddsRatioEst / style={borderleftwidth=3}; Var LowerCL / style={textalign=right font_style=italic}; Var UpperCL / style={textalign=left font_style=italic}; Var ProbChiSq / style={borderrightwidth=3}; Table subset=""*ac="", tt=""*(OddsRatioEst="OR"*f=6.2*{style={font_weight=bold borderleftwidth=3}} LowerCL='95%'*f=6.2*{style={font_style=italic just=right foreground=gray}} UpperCL='CI' *f=6.2*{style={font_style=italic just=left foreground=gray}} ProbChiSq="p-value"*f=mypval.*{style={borderrightwidth=3}}) / printmiss misstext=" " nocellmerge ; format ac ac.; format tt tt.; keylabel sum=" "; run; **link below contains style keywords for Proc Template, Proc Report, and Proc Print**;
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter