大家好,
我編寫了一個程式碼來取得帶有列聯表工具資訊的資料表,不幸的是,發出的表名為「Untitled xxx」。 我想知道透過編寫腳本是否可以選擇最後建立的表並更改其名稱,或者選擇名稱中包含 Untitled 的表,最後重命名它?
目標是在腳本每次啟動時關閉表以避免擁有多個表。
我嘗試使用當前數據表()函數,但它無法正常工作(選擇了另一個表)。
程式碼部分:
Contingency(
Y( :"Pass/Fail"n ),
X( :Task ),
Contingency Table(
Count( 1, Format( "Fixed Dec", 2, 0 ) ),
Total %( 1, Format( "Fixed Dec", 2, 2 ) ),
Col %( 1, Format( "Fixed Dec", 2, 2 ) ),
Row %( 1, Format( "Fixed Dec", 2, 2 ) ),
Expected( 0, Format( "Best", 3 ) ),
Deviation( 0, Format( "Best", 3 ) ),
Cell Chi Square( 0, Format( "Fixed Dec", 2, 4 ) ),
Col cumulative( 0, Format( "Fixed Dec", 2, 0 ) ),
Col cumulative %( 0, Format( "Fixed Dec", 2, 2 ) ),
Row cumulative( 0, Format( "Fixed Dec", 2, 0 ) ),
Row cumulative %( 0, Format( "Fixed Dec", 2, 2 ) )
),
Mosaic Plot( 0 ),
Make Into Data Table,
);
謝謝 !
此致