请教关于 proc tabulate 的问题
答案:1 悬赏:30 手机版
解决时间 2021-11-29 06:35
- 提问者网友:刺鸟
- 2021-11-29 02:00
请教关于 proc tabulate 的问题
最佳答案
- 五星知识达人网友:思契十里
- 2021-11-29 03:23
options nodate pageno=1 linesize=80 pagesize=60;
x "cd D:\Docs";
ods listing close;
ods pdf file="table1.pdf" style=temp;
proc tabulate data=energy format=dollar12.;
class region division type / style=[foreground=blue just=left];
var expenditures;
table region*division,
type='Customer Base'*expenditures=' '*sum=' '
/ rts=25;
format region regfmt. division divfmt. type usetype.;
title 'Energy Expenditures for Each Region';
title2 '(millions of dollars)';
run;
ods pdf close;
ods listing;
代码供你参考
x "cd D:\Docs";
ods listing close;
ods pdf file="table1.pdf" style=temp;
proc tabulate data=energy format=dollar12.;
class region division type / style=[foreground=blue just=left];
var expenditures;
table region*division,
type='Customer Base'*expenditures=' '*sum=' '
/ rts=25;
format region regfmt. division divfmt. type usetype.;
title 'Energy Expenditures for Each Region';
title2 '(millions of dollars)';
run;
ods pdf close;
ods listing;
代码供你参考
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯