eelbrain.NDVar.repeat

NDVar.repeat(repeats, name=None)

Repeat slices of the NDVar along the case dimension

Parameters:
  • repeats (int | array of ints) – The number of repetitions for each element. repeats is broadcasted to fit the shape of the given dimension.

  • name (str) – Name of the output NDVar (default is the current name).