Learn R Programming

OpasnetUtils (version 1.3)

openv: OpasnetUtils environment for mutable function parameters

Description

Container for model-wide parameters such as number of iterations used in random sampling.

Usage

openv.setN(x)

Arguments

x

numeric, new default number of iterations

Value

No return value.

Details

The environment is also automatically populated by CheckDecisions to communicate evaluation to other branches of the recursion tree. The value N in this environment is used by interpret when N is not given in an EvalOutput(...) call.

Examples

Run this code
openv$N
openv.setN(1)
openv$N
openv$N <- 2
openv$N

Run the code above in your browser using DataLab