其他分享
首页 > 其他分享> > SAS barchart

SAS barchart

作者:互联网

groupdisplay = 定义如何显示group,堆积、簇等等。

 

ods html;

proc template;
define statgraph _barchart;
begingraph / ;
    entrytitle "a";
    layout overlay / xaxisopts = (display = (ticks tickvalues)) yaxisopts = (griddisplay = on);
        barchart x = origin y = mpg_city / group = type stat = mean
                        groupdisplay = cluster dataskin = gloss name = "a";
        discretelegend 'a' / title = "Type: ";
    endlayout;
endgraph;
end;
run;

proc sgrender data = sashelp.cars(where = (type not in ("Hybird" "Truck"))) template = _barchart;
run;

 

标签:run,groupdisplay,barchart,template,SAS,group,proc
来源: https://www.cnblogs.com/Python-T/p/15368520.html