从数字 col 框中获取标题好的,所以刚开始深入树导航,我有一个我正在试验的简单脚本:
names default to here(1);
dt=current data table();
//this is a partition analysis
actobj=Current Report()[outlinebox(1)]<<GET scriptable="" object=""></GET>
所以我可以得到 Logworth 的值,但我也想从 numbercolbox 中获取标题,即“Logworth”。到目前为止,我无法弄清楚。感谢您的任何建议!
史蒂夫
脚本回复:从数字col框中获取标题这是获得您想要的东西的一种方法
names default to here(1);
// Open Data Table: big class.jmp
// → Data Table( "big class" )
dt = Open( "/C:/Program Files/SAS/JMPPRO/14/Samples/Data/big class.jmp" );
Partition(
Y( :height ),
X( :age, :sex, :weight ),
Informative Missing( 1 ),
Initial Splits( :weight < 81, {}, {:age == {12, 13}} ),
SendToReport(
Dispatch( {}, "Partition Report", FrameBox, {Frame Size( 480, 62 )} )
)
);
//this is a partition analysis
actobjrpt=Current Report();
actobjrpt=actobj<<REPORT></REPORT>