This step allows to form a loop or to exclude some steps. It allows to jump to a certain "goto" step for "repeat" times. If the "goto" step is outside of the loop range, it must have "repeat" value "0". Inherits: rdmlBaseType.
An R6Class
generator object.
loopType$new(goto, repeat.n)
goto
assertCount. The step to go to to form the loop.
repeat.n
assertCount. Determines how many times the loop is repeated. The first run through the loop is counted as 0, the last loop is "repeat" - 1.
RDML::rdmlBaseType
-> loopType
new()
loopType$new(goto, repeat.n)
clone()
The objects of this class are cloneable with this method.
loopType$clone(deep = FALSE)
deep
Whether to make a deep clone.