i'm trying to assign styles to individual parts in Proc Format, but no luck. (stripped down example, below)
Any suggestions on something else I might try?
Thanks for any ideas!
proc format;
value nfmt (default=20)
1 = “Change, +”
2 = "^{style [font_face=calibri font_weight=bold font_size=10pt]Change,} ^{style [font_face=calibri font_size=18pt] -)"
;
run;
You need to set default= bigger. And change the quote around "Change,+" into English Version Quote.
proc format;
value nfmt (default=200)
1 = "Change, +"
2 = "^{style [font_face=calibri font_weight=bold font_size=10pt]Change,} ^{style [font_face=calibri font_size=18pt] -}"
;
run;
data have;
input x;
format x nfmt.;
cards;
1
1
2
2
;
ods escapechar='^';
proc print;run;
You need to set default= bigger. And change the quote around "Change,+" into English Version Quote.
proc format;
value nfmt (default=200)
1 = "Change, +"
2 = "^{style [font_face=calibri font_weight=bold font_size=10pt]Change,} ^{style [font_face=calibri font_size=18pt] -}"
;
run;
data have;
input x;
format x nfmt.;
cards;
1
1
2
2
;
ods escapechar='^';
proc print;run;
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.