eelbrain.Factor.repeat

Factor.repeat(repeats, name=None)

Repeat each element repeats times

Parameters:
  • repeats (int | array of int) – Number of repeats, either a constant or a different number for each element.

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