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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.