Skip to content

binaryRL

Reinforcement Learning Tools for Two-Alternative Forced Choice Tasks

v0.9.9 · Jan 8, 2026 · GPL-3

Description

Tools for building Rescorla-Wagner Models for Two-Alternative Forced Choice tasks, commonly employed in psychological research. Most concepts and ideas within this R package are referenced from Sutton and Barto (2018) <ISBN:9780262039246>. The package allows for the intuitive definition of RL models using simple if-else statements and three basic models built into this R package are referenced from Niv et al. (2012) <doi:10.1523/JNEUROSCI.5498-10.2012>. Our approach to constructing and evaluating these computational models is informed by the guidelines proposed in Wilson & Collins (2019) <doi:10.7554/eLife.49547>. Example datasets included with the package are sourced from the work of Mason et al. (2024) <doi:10.3758/s13423-023-02415-x>.

Downloads

637

Last 30 days

6035th

1.7K

Last 90 days

4K

Last year

Trend: +2.9% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies Rcpp future doFuture foreach doRNG progressr binaryRL

Version History

new 0.9.9 Mar 10, 2026
updated 0.9.9 ← 0.9.8 diff Jan 7, 2026
updated 0.9.8 ← 0.9.7 diff Oct 27, 2025
updated 0.9.7 ← 0.9.0 diff Aug 19, 2025
updated 0.9.0 ← 0.8.9 diff Jul 7, 2025
updated 0.8.9 ← 0.8.7 diff Jun 14, 2025
updated 0.8.7 ← 0.8.3 diff Jun 9, 2025
updated 0.8.3 ← 0.8.0 diff May 22, 2025
new 0.8.0 May 12, 2025