選擇超出限制的零件我有多個列,我為其設置了限制。 如何選擇超出限制的行?
高級統計建模回复:選擇超出限制的零件如果您正在尋找通過分發平台執行此操作的方法,您可以按住 Ctrl 鍵,同時單擊感興趣的直方圖條形。這將選擇數據表中的相應行。
回复:選擇超出限制的零件您可以右鍵單擊行狀態列並選擇...選擇行=>選擇其中回复:選擇超出限制的零件謝謝。 這有效。 有沒有手動方式代替腳本?如果我已經選擇了多列並繪製了分佈圖,是否有任何手動方法來選擇故障部件?回复:選擇超出限制的零件您還可以通過流程能力平台來完成此任務。
dt=Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
Process Capability(
Process Variables( :NPN1, :PNP1, :PNP2 ),
Moving Range Method( Average of Moving Ranges ),
Overall Sigma Normalized Box Plots( 1 ),
Select Out of Spec Values( 1 ),
Goal Plot( 1 ),
Capability Index Plot( 1 ),
Process Performance Plot( 0 )
);
回复:選擇超出限制的零件我假設您想使用腳本進行此選擇。
這是一個腳本,用於根據一個變量超出規範限制的行來選擇行
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
specs = dt:PNP1 << get property("spec limits");
dt << select where( dt:PNP1 <= specs["LSL"] | dt:PNP1 >= specs["USL"]);
這是多列的腳本
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/semiconductor capability.jmp" );
//colNames = dt << get column names( continuous, string );
colNames = { "PNP1", "PNP3"};
For( i = 1, i <= N Items( colNames ), i++,
specs = Column( dt, colNames[i] ) << get property( "spec limits" );
If( Try( Is Missing( specs["LSL"] ) ) == 0 & Try( Is Missing( specs["USL"] ) ) == 0,
found = dt << get rows where(
as Column( dt, colNames[i] ) <= specs["LSL"] | as Column( dt, colNames[i] ) >= specs["USL"]
);
If( N Rows( found ) > 0,
dt << select rows(found);
);
);
);