data(exampleData)
# Fix the first parameter (A) during the fit.
parms = c(0.050, 0.300, 0.400, 0.050, 1.500)
fixed <- c(TRUE, FALSE, FALSE, FALSE, FALSE)
# run the model
# (Note this is a toy example with very low trial numbers to speed up the
# example. For proper use, increase nTrials.)
# \donttest{
fit <- fitMultipleSSP_fixed(exampleData, conditionName = "present",
parms = parms, fixed = fixed, nTrials = 100)
# }
Run the code above in your browser using DataLab