View source: R/FixedOutcomes.r
selectFixedOutcomeIfSet | R Documentation |
Checks whether a fixed vector of values should be used instead of the just simulated vector (parameter x). The fixed vector is that in fixed.outcomes and is based on user specified adjustments to a base run of the simulation.
selectFixedOutcomeIfSet(simenv, iteration, x, varname)
simenv |
a Simenv object |
iteration |
the current iteration |
x |
vector of values to replace with vector in fixed.outcomes. Generally x is continuous. |
varname |
name of variable |
a vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.