# declare the parameters
parms <- c(0.050, 0.300, 0.400, 0.040, 1.500)
# simulate the data
# (Note this is a toy example with very low trial numbers to speed up the
# example. For proper use, increase nTrials.)
modelData <- simulateSSP(parms, nTrials = 100)
Run the code above in your browser using DataLab