mxComputeLoop: Repeatedly invoke a series of compute objects

View source: R/MxCompute.R

mxComputeLoopR 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.

Usage

mxComputeLoop(
  steps,
  ...,
  i = NULL,
  maxIter = as.integer(NA),
  freeSet = NA_character_,
  maxDuration = as.numeric(NA),
  verbose = 0L,
  startFrom = 1L
)

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

verbose

integer. Level of run-time diagnostic output. Set to zero to disable

startFrom

When i=NULL, permits starting from an index greater than 1.


OpenMx documentation built on Oct. 19, 2024, 9:06 a.m.