R: Repeatedly invoke a series of compute objects

mxComputeLoop {OpenMx} | R Documentation

## Repeatedly invoke a series of compute objects

### Description

When `i` is given then these values are iterated over instead of the sequence 1 to the number of iterations. If `i` is not given then `maxIter` is set to 500 to prevent infinite loops.

### Usage

    mxComputeLoop(steps, ..., i = NULL, maxIter = as.integer(NA),
      freeSet = NA_character_, maxDuration = as.numeric(NA))

### Arguments

`steps` | a list of compute objects
`...` | Not used. Forces remaining arguments to be specified by name.
`i` | the values to iterate over
`maxIter` | the maximum number of iterations
`freeSet` | Names of matrices containing free variables.
`maxDuration` | the maximum amount of time (in seconds) to iterate

[Package OpenMx version 2.11.4 Index]