您好,我想將從錶框創建的資料表設定為“私有”(具體來自提升樹/列貢獻,但問題很普遍)。我從 JSL 文件中看到“invisible”選項可以直接從 <
一般來說,資料表創建後是否可以將其可見性變更為私有?
我正在使用 JMP 13 Pro。
先謝,
馬泰奧
謝謝!第二個解決方案非常適合我的情況! 我也會記得第一個以用於其他用途。
馬泰奧
一種方法是使用 << Make Data Table(invisible),然後將該表子集到 Private 表中,最後關閉使用 Make Data Table 建立的表。
下面是一個簡單的腳本,透過從錶框中拉出各個部分並將它們放入新表中,直接建立一個私有表。由於列貢獻表的結構是已知的,因此此方法很容易組合起來。唯一的變化是您不會指向名為「nw」的對象,而是指向提升樹輸出的 Report()
Names Default To Here( 1 );
nw = New Window( "A Table Box",
Outline Box( "Sample Table",
Table Box(
String Col Box( "Group", {"Group A", "Group B", "Group C"} ),
Number Col Box( "Row Num", {1, 2, 3} ),
Number Col Box( "Value", {54, 67, 29} )
)
)
);
dtPrivate = New Table( "The Table", private );
dtPrivate << New Column( (nw[String Col Box( 1 )] << get heading), character, values( nw[String Col Box( 1 )] << get ) );
dtPrivate << New Column( (nw[Number Col Box( 1 )] << get heading), values( nw[Number Col Box( 1 )] << get ) );
dtPrivate << New Column( (nw[Number Col Box( 2 )] << get heading), values( nw[Number Col Box( 2 )] << get ) );
dtPrivate << bivariate( x( :Row Num ), y( :Value ) );