全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1345 1
2010-11-05
Replace two picture files of  {c:\temp\emboopto.gif    , c:\temp\emetr.gif} below with your picture files and locations. You will have a logo in your tabulate report.

Change the ods location c:\temp\try16.htm with a desired location.





data example;
  do company = 'sas', 'ibm';
    do col = 1 to 3;
      x + 1;
      output;
    end;
  end;
run;


data cntlin;
  fmtname = 'newline'; type = 'C';
  do start = 'sas', 'ibm';
    label = start || '000a'x;
    output;
  end;
run;


proc format cntlin=cntlin fmtlib; run;


proc format;
  value $logo 'sas'='c:\temp\emboopto.gif' 'ibm'='c:\temp\emetr.gif';
run;


ods listing close;
ods html file='c:\temp\try16.htm';


proc tabulate data=example;
  class company col;
  var x;
  classlev company / style=[postimage=$logo. vjust=bottom];
  table company, sum='' * col * x;
  format company $newline.;
run;

ods html close;
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2010-11-5 15:30:58
very good,this style can also be used in proc report,which is more often used for reporting
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群