こんにちは
「出力」列のスクリプト作成についてサポートを依頼してください。
さまざまなイベントに割り当てられたSrIDのリストがあり、LABT0イベントが特定のイベントに一致する結果の出力列が必要です

助けを借りる義務があります。 上のスクリーンショットのExcelファイルを添付しました。
ありがとう
S
このようなデータテーブルがあるとします

JMPは、必要な出力を作成する手順を実行するときにインタラクティブに次のスクリプトを提供しました
// Clear row selection
Data Table( "Example File" ) << Clear Select;
// Data table summary
// → Data Table( "Subset of Untitled 9 By (Sr ID, Event)" )
Data Table( "Example File" ) << Summary(
Group( :Sr ID, :Event ),
Freq( "None" ),
Weight( "None" ),
Link to original data table( 0 )
);
// Select matching cells
Data Table( "Example File By (Sr ID, Event)" ) <<
Select Where( :Event == "LAB_T0" );
// Delete selected rows
Data Table( "Example File By (Sr ID, Event)" ) <<
Select Where( :Event == "LAB_T0" ) << Delete Rows;
// Delete column: N Rows
Data Table( "Example File By (Sr ID, Event)" ) << Delete Columns( :N Rows );
// Change column name: Event → Output
Data Table( "Example File By (Sr ID, Event)" ):Event << Set Name( "Output" );
// Update data tables
Data Table( "Example File" ) << Update(
With( Data Table( "Example File By (Sr ID, Event)" ) ),
Match Columns( :Sr ID = :Sr ID )
);
