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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.