Home   >   User Resources   >   Online Help   >   apaData.Repeats
 

 

Function index Version 3.0.0

apaData.Repeats(DataMatrix)

Excel=apaData.Repeats(DataMatrix)

Result

Calculates the size and frequency of repeats in data. The first column is the run length, the other columns are the number of runs of that length in each series.

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. For example, the series 1, 1, 1, 2, 2, 3, 4, 4, 4, 4, 5, 5 has two runs of length 2, one of length 3 and one of length 4. If there are no repeats, #N/A is returned.