queue simulates the response and response time on a single trial
in an experiment using standard visual search paradigm.
queue(miat, mst, c, pr, L, misidd, misidt, arrival, serving, tposition,
old=FALSE)A numeric vector of length 5 indicating the number of visual items processed, the mean processing time of a single item, the maximum of processing time of a single item, the system response time and the response.
A positive number representing the scale parameter of the exponential distribution of interarrival times, i.e., the mean interarrival time.
A positive number representing the scale parameter of the exponential distribution of service times, i.e., the mean service time.
A natural number representing the number of parallel servers of the system.
Logical. If pr is TRUE, the function simulates data on target present trials; if pr is FALSE, it simulates data on target absent trials.
A natural number representing the number of stimuli that have been identified to terminate the queueing process.
Logical vector of length k.
Here, FALSE means
correct identification and \(TRUE\) misidentification of a distractor.
Logical. Here,
FALSE means correct identification and TRUE
misidentification of the target.
A vector of length set size. Elements must be exponentially distributed random numbers with rate 1.
A vector of length set size. Elements must be exponentially distributed random numbers with rate 1.
A natural number representing the position of the target in the queue, in target present case less or equal to set size, in target absent case equal to set size +1.
Logical. If old is TRUE, the simulation is implemented by R code; if old is FALSE, it is implemented by C code. Only for comparison of speed. Default option is FALSE.
Yiq Li, yiqi.li@web.de,https://www.xing.com/profile/Yiqi_Li3, Martin Schlather,martin.schlather@uni-mannheim.de,https://www.wim.uni-mannheim.de/schlather/
Li, Yiqi (2020) Visual search as a queueing process. Doctoral dissertation, University of Mannheim.
Moore C. M.,and Wolfe J. M. (2001) Getting beyond the serial/parallel debate in visual search: A hybrid approach. In Shapiro, K.L. The Limits of Attention: Temporal Constraints on Human Information Processing. Oxford University Press tools:::Rd_expr_doi("10.1093/acprof:oso/9780198505150.003.0009")
sim, distance,
queue(miat = 30, mst = 200, c = 4, pr = TRUE, L = 12,
misidd = rep(0L, 12), misidt = 0, arrival = rexp(12),
serving = rexp(12), tposition = 7, old=FALSE)
Run the code above in your browser using DataLab