Learn R Programming

RDML (version 1.0)

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 outside of the loop range, it must have "repeat" value "0". Inherits: rdmlBaseType.

Usage

loopType

Arguments

Format

An R6Class generator object.

Initialization

loopType$new(goto, repeat.n)

Fields

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.