loopType R6 class.

Share:

Description

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 higher than the step of the loop, "repeat" must be "0".Inherits: rdmlBaseType.

Usage

1

Format

An R6Class generator object.

Initialization

loopType$new(goto, repeat.n)

Fields

goto

numeric. The step to go to to form the loop.

repeat.n

numeric. Determines how often the loop is repeated. The first run through the loop is counted as 0, the last loop is "repeat" - 1. The loop is run through exactly "repeat" times.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.