removet0: Substract nondecision times from response times

Description Usage Arguments Value Examples

View source: R/likelihood.R

Description

This function minus t0's from RTs.

Usage

1
2
3
remove_t0(x, t0)

removet0(x, t0)

Arguments

x

a response time vector

t0

a numeric scalar

Value

a vector

Examples

1
2
3
rt <- rlnorm(10) + .2
dt <- removet0(rt, .2)
all.equal(dt, rt - .2)

ggdmc documentation built on Sept. 2, 2018, 1:03 a.m.