Hi there,
In the simple script below, how do I pass the variables varTarget and varSigma into the cusum creation?
dt = Open( "$SAMPLE_DATA/Quality Control/Engine Temperature Sensor.jmp" );
varTarget = 100;
varSigma = 10;
dt << CUSUM Control Chart(
Y( :Y ),
Target( varTarget ),
Sigma( varSigma ),
SendToReport(
Dispatch( {"CUSUM Chart"}, "2", ScaleBox, {Min( -7.5 ), Max( 10 ), Inc( 5 ), Minor Ticks( 1 )} )
)
);