您好,我想将从表框创建的数据表设置为“私有”(具体来自提升树/列贡献,但问题很普遍)。我从 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 ) );