Crandore Hub

multiRL

Reinforcement Learning Tools for Multi-Armed Bandit

A flexible general-purpose toolbox for implementing Rescorla-Wagner models in multi-armed bandit tasks. As the successor and functional extension of the 'binaryRL' package, 'multiRL' modularizes the Markov Decision Process (MDP) into six core components. This framework enables users to construct custom models via intuitive if-else syntax and define latent learning rules for agents. For parameter estimation, it provides both likelihood-based inference (MLE and MAP) and simulation-based inference (ABC and RNN), with full support for parallel processing across subjects. The workflow is highly standardized, featuring four main functions that strictly follow the four-step protocol (and ten rules) proposed by Wilson & Collins (2019) <doi:10.7554/eLife.49547>. Beyond the three built-in models (TD, RSTD, and Utility), users can easily derive new variants by declaring which variables are treated as free parameters.

Versions across snapshots

VersionRepositoryFileSize
0.3.7 rolling linux/jammy R-4.5 multiRL_0.3.7.tar.gz 745.0 KiB
0.3.7 rolling linux/noble R-4.5 multiRL_0.3.7.tar.gz 748.4 KiB
0.3.7 rolling source/ R- multiRL_0.3.7.tar.gz 303.8 KiB
0.3.7 latest linux/jammy R-4.5 multiRL_0.3.7.tar.gz 745.0 KiB
0.3.7 latest linux/noble R-4.5 multiRL_0.3.7.tar.gz 748.4 KiB
0.3.7 latest source/ R- multiRL_0.3.7.tar.gz 303.8 KiB
0.3.7 2026-04-26 source/ R- multiRL_0.3.7.tar.gz 303.8 KiB
0.3.7 2026-04-23 source/ R- multiRL_0.3.7.tar.gz 303.8 KiB
0.3.7 2026-04-09 windows/windows R-4.5 multiRL_0.3.7.zip 1.0 MiB

Dependencies (latest)

Imports

LinkingTo

Suggests