扩展选择位置<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />我们可以在脚本指南中解决这个问题吗?
//脚本指南第336页
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
dt << Select Where( age < 15 & sex == "F" );
//或者
dt << 选择哪里(年龄== 14);
dt << Extend Select Where( sex == "F" ); //什么也没做
//不在指南中,但在下面有效
等待(10);
dt << Select Where( sex == "F", Current Selection ("extend")); //扩展选择
回复:扩展选择位置以下内容来自 JMP 12.1 脚本指南的第 340 页,也包含在当前的在线文档中:
To select a row without deselecting a previously selected row, combine << Select Where with
<< Select Where and the current selection("extend") argument. This is an alternative to
using an OR statement.
dt << Select Where( age == 14 );
dt << Select Where( sex == "F", current selection("extend"));
希望有帮助!
温迪