distinctPrefix

The number of distinct values among the first index observations.

Parameters

index

the number of leading observations to count over, within 0..numObservations