Hello. I am trying to pass the first value of an array into the Where() function, inside of the Bivariate() funtion, as shown below. No matter how I pass the first element of the array (character) into the funtion, I recieve this error message:
This Where-clause for data table 'sample_CV_data 4' resulted in no rows: :c_type == "Cdg" & :process == processArray[1]
//Begin
DataCV=open("C:\Desktop\JMP\sample_data.csv");
ProcessArray = {G20-3};
biv = Bivariate(
Y( :c_mm_deembed_pf ),
X( :v_dut_volt ),
Where( :c_type == "Cdg" & :process == processArray[1] ),
Fit Spline( 0.1, standardized, {save predicteds})
);
//EndSome alternate versions that i have tried are shown below. All result in the same error message, shown above.
DataCV=open("C:\Desktop\JMP\sample_data.csv");
ProcessArray = {G20-3};
biv = Bivariate(
Y( :c_mm_deembed_pf ),
X( :v_dut_volt ),
Where( :c_type == "Cdg" & :process == Char(ProcessArray[1]) ),
Fit Spline( 0.1, standardized, {save predicteds})
);DataCV=open("C:\Desktop\JMP\sample_data.csv");
ProcessArray = {G20-3};
var1 = char(processArray[1]);
biv = Bivariate(
Y( :c_mm_deembed_pf ),
X( :v_dut_volt ),
Where( :c_type == "Cdg" & :process == var1 ),
Fit Spline( 0.1, standardized, {save predicteds})
);DataCV=open("C:\Desktop\JMP\sample_data.csv");
ProcessArray = {G20-3};
var1 = processArray[1];
biv = Bivariate(
Y( :c_mm_deembed_pf ),
X( :v_dut_volt ),
Where( :c_type == "Cdg" & :process == var1 ),
Fit Spline( 0.1, standardized, {save predicteds})
);DataCV=open("C:\Desktop\JMP\sample_data.csv");
ProcessArray = {G20-3};
var1 = processArray[1];
biv = Bivariate(
Y( :c_mm_deembed_pf ),
X( :v_dut_volt ),
Where( :c_type == "Cdg" & :process == char(var1)),
Fit Spline( 0.1, standardized, {save predicteds})
);