大家好!
第一次在這裡發帖,如果有什麼遺漏的話,我深表歉意。 我編寫的腳本本質上是為使用者匯入的資料建立單向分析。 我想知道是否可以將“平均值和標準偏差”表提取(複製貼上)到 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 );