在 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>
使用汇总平台会自动生成数据表作为输出。