Learn R Programming

ggdmc (version 0.2.5.2)

remove_t0: Substract nondecision times from response times

Description

This function minus t0's from RTs.

Usage

remove_t0(x, t0)

removet0(x, t0)

Arguments

x

a response time vector

t0

a numeric scalar

Value

a vector

Examples

Run this code
# NOT RUN {
rt <- rlnorm(10) + .2
dt <- removet0(rt, .2)
all.equal(dt, rt - .2)
# }

Run the code above in your browser using DataLab