computeMinRT: Compute minimum Reaction Time

Description Usage Arguments Value

View source: R/computeMinRT.R

Description

Compute minimum RT above which subjects are above chance in a 2AFC task, given RT and correctness vectors

Usage

1
2
computeMinRT(RT, correct, bins = seq(min(RT, na.rm = T), max(RT, na.rm =
  T) + 10, by = 10), nBinSucc = 5, method = "chi2", thresh = 0.05)

Arguments

RT

Reaction times vector (in ms or adapt bins)

correct

Correctness vector (coerced to logical)

nBinSucc

Number of successive significantly above chance bins

method

chi square. (unused at present)

thresh

threshold for significance of the chi square test.

Value

bins Bin limits for computation

minRT the minimum Reaction Time


dnacombo/MaxPac documentation built on Nov. 17, 2021, 3:36 a.m.