回复:获取框架文本对于 Jackknife Distances,您可以先将距离保存到数据表,然后获取“Jackknife Value”列属性值Jackknife 预测值.
或者您可以从图中获取线段值
names default to here(1);
dt = open("$SAMPLE_DATA/Blood Pressure.jmp");
myrpt = Multivariate(
Y( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W, :BP 6W, :BP 8F, :BP 12F, :BP 6F ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Jackknife Distances( 1 ),
SendToReport(
Dispatch( {}, "Correlations", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Scatterplot Matrix", OutlineBox, {Close( 1 )} )
)
);
frame = Report(myrpt)[Framebox(82)];
seg = (frame << Find Seg(Line Seg(1)));
seg << get y values;
回复:获取框架文本names default to here(1);
dt = open("$SAMPLE_DATA/Blood Pressure.jmp");
myrpt = Multivariate(
Y( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W, :BP 6W, :BP 8F, :BP 12F, :BP 6F ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Jackknife Distances( 1 ),
SendToReport(
Dispatch( {}, "Correlations", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Scatterplot Matrix", OutlineBox, {Close( 1 )} )
)
);
myrpt << Jackknife Distances( 1, Save Jackknife Distances );
jd1 = dt:Jackknife Distances << get property("Jackknife Value");
show(jd1);这是获得我寻求的价值的另一种方式。感谢您指导我了解列属性, @jthi !
获取框架框文本你好,
我想从框架框中获取文本,但我还没有弄清楚执行此操作的语法。 有人可以帮忙吗?
我已经改编了该线程的脚本,但发现它似乎不适用于我正在寻找的内容。
https://community.jmp.com/t5/Discussions/JSL-Retrieve-Selected-Frame-Box/mp/14552
我还有另一个脚本,可以从分析器绘图工具中获取数字,并且我已经对其进行了调整,但我认为我也没有正确修改它。
下面是一个例子。
names default to here(1);
dt = open("$SAMPLE_DATA/Blood Pressure.jmp");
myrpt = Multivariate(
Y( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W, :BP 6W, :BP 8F, :BP 12F, :BP 6F ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Jackknife Distances( 1 ),
SendToReport(
Dispatch( {}, "Correlations", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Scatterplot Matrix", OutlineBox, {Close( 1 )} )
)
);
myrpt << Show tree structure;
// Try 1
mynum1 = myrpt[ Framebox(83) ] << Get text; // Send error
show( mynum1 );
// Try 2
mynum2 = Num( Report( myrpt )["Multivariate", Framebox( 83 )] << Get Text );
show( mynum2 ); // Empty
// Try 3
mynum3 = Num( Report( myrpt )["Jackknife Distances", Framebox( 83 )] << Get Text ); // Send error
show( mynum3 );
report( myrpt ) << Close report;


是否有关于如何从树结构的不同部分获取数据的指南?
自动化和脚本编写视窗回复:获取 Framebox 文本当我 show(seg) 时,返回 seg = DisplaySeg[];。你知道这是什么吗?我正在寻找 UCL 值或整个字符串,因为这样很容易提取我需要的内容。
当我修改 Try 1 时,nynum1 最终为空。你知道为什么吗?似乎找到了 framebox,但没有返回任何内容。
mynum1 = report(myrpt)[ Framebox(83) ] << Get text;
show( mynum1 );