View source: R/model-rescorla_wagner.R
| rescorla_wagner | R Documentation |
Rescorla-Wagner (1972) error-driven associative model
rescorla_wagner(C, alpha, beta, lambda)
C |
Decay |
alpha |
Salience (fix at 1 unless manipulated) |
beta |
Learning rate – a proportion of lambda |
lambda |
Maximum associative value that a CS can achieve - should be larger than learning rate |
An object of class xslMod
mod <- rescorla_wagner(C = 1, alpha = 1, beta = 0.1, lambda = 3)
xsl_run(mod, get_example_ambiguous_condition())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.