sim | R Documentation |
sim.ny
simulates a data set containing the responses and
response times on either target present or target absent trials under
specified set size level in an experiment using standard visual search
paradigm, whereby the non-decision time for yes and no options are
represented by two different parameters.
sim.ny(par, esterrorpar, c, k, pr, N, empRT, seed=0)
par |
\par |
esterrorpar |
\esterrorpar |
c |
\c |
k |
\k |
pr |
\pr |
N |
\N |
empRT |
\empRT |
seed |
\seed |
A N \times 2
matrix. The first column contains the simulated response times
and the second colum the corresponding simulated responses.
queue
sim.ny(par = c(30, 200, 250, 350),
esterrorpar = c(-2.67, 0.0094, 0.0299, 0.0020, 1.13),
c = 4,
k = 12,
pr = TRUE,
N = 10000, seed = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.