定位功能大家好,
在数据表中,我有两列:数字和代码
我使用“Loc”函数在数据表中搜索索引。
Names default to here(1);
dt = current data table();
VALEUR = Loc( dt[Row(), "Numéro"], 1);
// VALEUR1 = Loc( dt[Row(), "Numéro"], 1) & Loc( dt[Row(), "Code"], "A") ;
我们如何应用具有双重条件的“Loc”函数(我尝试使用“AND”)。
感谢你的回复。
自动化和脚本回复:Loc 函数我建议使用“获取行位置”
Names default to here(1);
dt = current data table();
VALEUR = dt << get rows where( :Numéro == 1 & :Code == "A" );
回复:Loc 函数如果你有 JMP18,你可以使用 new Where()
And if you have JMP18, new Where()
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
rs = Where(dt, :sex == "F" & :age == 12);