Hi,
what exactly is the syntax with PROC TEMPLATE to change the number of decimals displayed in the output. For example, in the FitStatistics table of PROC REG (template Stat.REG.FitStatistics) display the value of R-square (which is cValue2 in the table) with 2 decimals instead of the usual 4 decimals.
Thanks!
Well, that template inherits from Factoid, then from common Factoid. When I look at that template in sashelp.tmplcommon, it has its own subdirectories with value and label, code for value is:
proc template;
define column Common.Column.Factoid.Value / store = SASHELP.TMPLCOMMON;
notes "Default Factoid value column";
dynamic value_just wmin wmax;
width_max = wmax;
width = wmin;
just = value_just;
end;
run;
So I am thinking that you want to change width_max or width. Never used this one myself though.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.