inmoose.edgepy.systematicSubset

inmoose.edgepy.systematicSubset(n, order_by)

Take a systematic subset of indices stratified by a ranking variable

Parameters:
  • n (int) – the size of the subset

  • order_by (array_like) – vector of the values by which the indices are ordered

Returns:

a vector of size n

Return type:

ndarray