행별 겹침/갭 분석데이터 1000-ish 행 집합에서 간격 및 중첩 분석을 실행하는 방법을 찾고 있습니다.데이터는 각 기능의 테스트 범위를 1, 2 또는 3, 점수로 순위를 매기는 팀입니다.그룹이 1로 채점하지 않은 행의 간격을 찾고 여러 그룹의 순위가 1인 곳도 표시하고 싶습니다.데이터 테이블의 스냅샷은 아래와 같습니다.
| 특징 # | FVT | EVT | CVT | MSV | 지큐 | 인증서 | 하드웨어 | 체육 | MFG 테스트 | PDE | TCM/FAE? |
| 1 | 1 | | 2 | 삼 | | 삼 | 1 | 2 | 2 | | |
| 2 | 1 | | 2 | 삼 | | 삼 | 1 | 2 | 2 | | |
| 삼 | 삼 | 삼 | 삼 | 삼 | 삼 | 삼 | 삼 | 삼 | 삼 | 삼 | 삼 |
| 4 | 삼 | 삼 | 삼 | 삼 | 삼 | 삼 | 2 | 삼 | 삼 | 삼 | 삼 |
| 5 | 1 | | 2 | 2 | | 삼 | 삼 | 2 | 2 | | |
| 6 | 1 | | 2 | 2 | | 삼 | 삼 | 2 | 2 | | |
| 7 | 1 | | 2 | 2 | | 삼 | 삼 | 2 | 2 | | |
| 8 | 1 | | 2 | 2 | | 삼 | 삼 | 2 | 2 | | |
해석학Re: 행별 중복/갭 분석나는 당신이 찾고 있는 것이 무엇인지 정확히 모르지만, 당신이 원한다고 생각하는 결과를 생성하는 내가 작성한 작은 스크립트가 있습니다.

Names Default To Here( 1 );
dt = Data Table( "MuMover Example" );
colNames = dt << get column names( continuous, string );
Remove From( colNames, 1, 1 );
Remove From( colNames, -2, 2 );
columnsWithNoOnes = {};
For( i = 1, i <= N Items( colNames ), i++,
Summarize( dt, byGroup = By( colNames[i] ) );
If( Contains( byGroup, "1" ) == 0,
Insert Into( columnsWithNoOnes, colNames[i] )
);
);
featureWithMultipleOnes = {};
countOfMutipleOnes = {};
For( i = 1, i <= N Rows( dt ), i++,
temp = Loc( dt[i, Index( 2, 10 )], 1 );
If( N Rows( temp ) > 1,
Insert Into( featureWithMultipleOnes, i );
Insert Into( countOfMutipleOnes, N Rows( temp ) );
);
);
New Window( "Results",
H List Box(
Outline Box( "Groups with No 1's",
Table Box( String Col Box( "Group", colNamesWithNoOnes ) )
),
Spacer Box( size( 15, 0 ) ),
Outline Box( "Features With Multiple 1's",
Table Box(
Number Col Box( "Feature", featureWithMultipleOnes ),
Number Col Box( "Count", countOfMutipleOnes )
)
)
)
);
Re: 행별 중복/갭 분석원하는 것을 계산하는 공식은 다음과 같습니다.

If( Row() == 1,
colNames = Current Data Table() << get column names( continuous, string );
Remove From( colNames, 1, 1 );
Remove From( colNames, -2, 2 );
);
display = "";
For( i = 1, i <= N Items( colNames ), i++,
If( Row() == 1,
colNames = Current Data Table() << get column names( continuous, string );
Remove From( colNames, 1, 1 );
Remove From( colNames, -2, 2 );
);
display = "";
For( i = 1, i <= N Items( colNames ), i++,
cname = colNames[i];
Eval( Parse( Eval Insert( "If( ^cname^ == 1, display = display || \!" \!" || colNames[i] );" ) ) );
);
Trim( display );
);
If( display == "",
display = "Gap"
);
Trim( display );