Learn R Programming

RDML (version 0.9-1)

loopType: loopType R6 class.

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

loopType

Arguments

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.