大家好,
我想知道如何根据引用列引用特定列中的值。 这个概念就像 Excel 中的 VLOOKUP。 我有一个带有名称的数据表,并且该特定名称有一个唯一的阈值。
Variability Chart(
Y( :Signal ),
X( :Expected Outcome, :Sample Mix, :Consumable ),
Max Iter( 100 ),
Conv Limit( 0.00000001 ),
Number Integration Abscissas( 128 ),
Number Function Evals( 65536 ),
Analysis Type( Name( "Choose best analysis (EMS REML Bayesian)" ) ),
Process Variation( 0 ),
Show Range Bars( 0 ),
Show Cell Means( 0 ),
Std Dev Chart( 0 ),
Points Jittered( 1 ),
Show Box Plot Whisker Bars( 0 ),
Mean Diamonds( 0 ),
By( :Description ),
SendToReport(
Dispatch(
{"Variability Chart for Signal"},
"2",
ScaleBox,
{Scale( "Log" ), Min( 0.01 ), Max( 1250 ), Inc( 1 ), Minor Ticks( 8 ), Add Ref Line( 0, Dotted, "Medium Light Gray" ),
Add Ref Line( <STRONG>***[5/(I want this to be the value based on the By reference in the variability chart]***</STRONG>, Dotted, "Black" ), Rotated Labels( "Horizontal" )}
)
)
);在我看来,它会在 By 分组中获取 :Description 的当前值,然后在“Threshold (nA)”列中找到相应的阈值值。 但我不确定该怎么做。
一个更简单的例子是:
示例数据表:
A B C
1 2 3
1 4 3
2 6 5
2 7 5
3 4 4
4 9 4
我的可变性图表将绘制 B 作为 y 轴,但我想要一条基于 My By 的水平线,在这种情况下将是 A,因此 1、2、3。 所以我的三个可变性图将有 3、5 和 4 作为各自的水平线,基于 A 的值。 截至目前,我不确定如何获取此值并将其插入上面的代码以通过描述作为我的 By 分组来获取动态水平线。 任何帮助将不胜感激。 谢谢!