大家好!
第一次在这里发帖,如果有什么遗漏的话,我深表歉意。 我编写的脚本本质上是为用户导入的数据创建单向分析。 我想知道是否可以将“平均值和标准偏差”表提取(复制粘贴)到 JSL 中的另一个表中。
前任:

以下示例展示了如何获取完整的 Means 和 Std 表并从中创建新的数据表,以及如何获取 stat 表的特定列并将其添加到当前数据表的示例。
names default to here(1);
dt=open("$SAMPLE_DATA/big class.jmp");
Oneway(
Y( :height ),
X( :sex ),
Quantiles( 1 ),
Means and Std Dev( 1 ),
t Test( 1 ),
Box Plots( 1 ),
Mean Error Bars( 1 ),
Std Dev Lines( 1 )
);
theReport = current report();
// Create it own new table
theReport["Means and Std Deviations", TableBox(1)] << make into data table;
// and/or add the data to the current data table
dt << new column( "Mean" );
theMeans = theReport["Means and Std Deviations", NumberColBox(2)] << get;
dt:Mean << set values( theMeans );