apaData.Repeats.Matrix(DataMatrix)
Excel
=apaData.Repeats.Matrix(DataMatrix)Result
Replaces each cell that belongs to a repeat by the length of that repeat and all other cells by 0.
Syntax
DataMatrix: data matrix. Missing elements must be non-numerical.
Remarks
A repeat is a run of at least two identical consecutive numbers within a series; non-numeric cells end a run and return 0. For example, the series 1, 1, 1, 2, 2, 3 returns 3, 3, 3, 2, 2, 0.
