MyNixOS website logo
Description

Linear Approach to Threshold with Ergodic Rate for Reaction Times.

Implements the Linear Approach to Threshold with Ergodic Rate (LATER) model, which predicts distributions of reaction times and summarises them with as little as two free parameters. Allows for easy visualisation and comparison of datasets, along with fitting of datasets using the LATER model.

LATERmodel

R-CMD-check

The LATERmodel R package is an open-source implementation of Roger Carpenter’s Linear Approach to Threshold with Ergodic Rate (LATER) model (R. Carpenter (1981), Noorani and Carpenter (2016)). This package enables the easy visualisation of reaction time data in LATER’s signature reciprobit space, as well as estimating parameters to fit the model to datasets, comparing raw datasets, comparing fits (i.e., is the dataset better explained by a shift or a swivel?), adding an early component, etc.

This package also includes two canonical datasets digitised from R. H. S. Carpenter and Williams (1995) and Reddi, Asrress, and Carpenter (2003).

Installation

You can install LATERmodel with:

install.packages("LATERmodel")

Example

Load digitised data from Figure 1 in Carpenter and Williams (1995):

library(LATERmodel)

data(carpenter_williams_1995)

Extract data corresponding only to participant a (Figure 1.a):

raw_data <- subset(carpenter_williams_1995, participant == "a")

The data analysis functions within this package require the raw data to first undergo pre-processing using the prepare_data function. We pass our raw_data variable as the argument to the raw_data parameter of prepare_data to perform such pre-processing:

data <- prepare_data(raw_data = raw_data)

Fit each condition individually (no shared parameters between them), and include an early component for all of them:

data_fit <- individual_later_fit(data, with_early_component = TRUE)

Visualise the raw data and the best individual fits:

reciprobit_plot(data, data_fit)

For a more detailed analysis using the LATERmodel R package, see this article.

Carpenter, R. H. S., and M. L. L. Williams. 1995. “Neural Computation of Log Likelihood in Control of Saccadic Eye Movements.” Nature 377 (6544): 59–62. https://doi.org/10.1038/377059a0.

Carpenter, RHS. 1981. “Eye Movements: Cognition and Visual Perception.” Oculomotor Procrastination (Fisher DF, Monty RA, Senders JW, Eds) Pp 237: 246.

Noorani, Imran, and R. H. S. Carpenter. 2016. “The LATER Model of Reaction Time and Decision.” Neuroscience & Biobehavioral Reviews 64 (May): 229–51. https://doi.org/10.1016/j.neubiorev.2016.02.018.

Reddi, B. a. J., K. N. Asrress, and R. H. S. Carpenter. 2003. “Accuracy, Information, and Response Time in a Saccadic Decision Task.” Journal of Neurophysiology 90 (5): 3538–46. https://doi.org/10.1152/jn.00689.2002.

Metadata

Version

0.2.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows