Skip to contents

This function is used to generate timing gates splits with predetermined parameters

Usage

create_timing_gates_splits(
  MSS,
  MAC,
  gates = c(5, 10, 20, 30, 40),
  FD = 0,
  TC = 0,
  noise = 0
)

Arguments

MSS, MAC

Numeric vectors. Model parameters

gates

Numeric vectors. Distances of the timing gates

FD

Numeric vector. Flying start distance. Default is 0

TC

Numeric vector. Time-correction added to split times (e.g., reaction time). Default is 0

noise

Numeric vector. SD of Gaussian noise added to the split times. Default is 0

Examples

create_timing_gates_splits(
  gates = c(10, 20, 30, 40, 50),
  MSS = 10,
  MAC = 9,
  FD = 0.5,
  TC = 0
)
#> [1] 1.622046 2.741529 3.783338 4.799463 5.805886