在 Tabulate Function JSL 中自定義列名你好,
我很難理解如何從製表腳本函數自定義結果列名稱。 我的代碼在這裡:
obj3 = dt4 << Tabulate(
Add Table(
Column Names( :Batch No Intercept ),
Column Table(
Grouping Columns( :Batch No Intercept ),
Analysis Columns( :Aging Rate )
),
Row Table( Grouping Columns( :Y Intercept ) )
)
);
obj 3 << Make Into Data Table;由於我的“批量無攔截”列是一個連續的樣本編號列(###-##-1、###-##-2 等),因此該腳本的結果列名稱如下:“總和(老化率) , 樣品編號)"
我想讓結果數據表只將列名定義為樣本編號。
有什麼建議麼?
分析數據表腳本編寫視窗回复:在 Tabulate Function JSL 中自定義列名這是獲得您想要的東西的一種方法
names default to here(1);
dt4=current data table();
dt5 = dt4 << Summary(
Group( :Y Intercept ),
Sum( :Aging Rate ),
Subgroup( :Batch No Intercept ),
Freq( "None" ),
Weight( "None" ),
statistics column name format( "column" ),
Link to original data table( 0 )
);
dt5 << delete columns( "N Rows");
for(i=1,i<=N Cols(dt5),i++,
if(word(1,as column(dt5,i)<<GET name=""></GET>
使用匯總平台會自動生成數據表作為輸出。