View source: R/estimate_0_ENV.R
| estimate_0_ENV | R Documentation |
This function creates an independent R environment for each model (or object function) when searching for optimal parameters using an algorithm package. Such isolation is especially important when parameter optimization is performed in parallel across multiple subjects. The function transfers standardized input parameters into a dedicated environment, ensuring that each model is evaluated in a self-contained and interference-free context.
estimate_0_ENV(
data,
colnames = list(),
behrule,
funcs = list(),
priors = list(),
settings = list(),
...
)
data |
A data frame in which each row represents a single trial, see data |
colnames |
Column names in the data frame, see colnames |
behrule |
The agent's implicitly formed internal rule, see behrule |
funcs |
The functions forming the reinforcement learning model, see funcs |
priors |
Prior probability density function of the free parameters, see priors |
settings |
Other model settings, see settings |
... |
Additional arguments passed to internal functions. |
An environment, multiRL.env contains all variables
required by the objective function and is used to isolate environments
during parallel computation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.