大家好,我有一部分我在下面创建的JSL脚本:
x = "DID";<BR /><BR />colNames = dt << Get Column Names( Numeric, "Continuous" );<BR />nc = N Items( colNames );<BR /><BR />For( i = 1, i <= nc, i++,
y = colNames[i];
If( doNotTouchThisVariable == 0,<BR /> dt << Oneway(<BR /> Y( y ),
X( :column( x ) ),
Plot Actual by Quantile( 1 ),
Line of Fit( 0 ),
Points Jittered( 1 ),
SendToReport(<BR /> Dispatch(
{},
"1",
ScaleBox,
{Add Ref Line( {SV, 1000000}, "Solid", "Light Red", "", 1, 0.25 ),
Add Ref Line( SV, "Solid", "Medium Light Red", "", 1 )}
)
)
) <BR /> );
If( doNotTouchThisVariable == 1,<BR /> dt << Oneway(<BR /> Y( y ),
X( :column( x ) ),
Plot Actual by Quantile( 1 ),
Line of Fit( 0 ),
Points Jittered( 1 ),
SendToReport(<BR /> Dispatch(
{},
"1",
ScaleBox,
{Add Ref Line( {-1000000, SV}, "Solid", "Light Red", "", 1, 0.25 ),
Add Ref Line( SV, "Solid", "Medium Light Red", "", 1 )}
)
)
) <BR /> ); <BR /> //probably include concatenation of different graph-plotted windows here (vertically)
);有些代码包含变量: doNotTouchThisVariable 我认为在这种情况下并没有那么有用,并决定将其排除在外,但基本上,这个变量是用于的条件 SV ,另一个用于图形着色的变量。
这里重要的是,我如何在评论中实际连接不同的图形绘制窗口 //可能包括不同图形绘制窗口的连接(垂直) ?这意味着,一旦我运行脚本,将只会弹出不同的图形绘制窗口的1个连接窗口,而不会分别出现多个单独的图形绘制窗口。这是基于数据表中列数的不确定性dt。
任何意见将不胜感激。谢谢。