# Load the example data the comes with the \code{flankr} package
data(exampleData)
# Fix the first parameter (A) during the fit.
parms <- c(0.145, 0.08, 0.1, 0.07, 0.325, 1.3, 0.24)
fixed <- c(TRUE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE)
# fit 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 <- fitDSTP_fixed(exampleData, conditionName = "present", parms = parms,
fixed = fixed, nTrials = 100)
# }
Run the code above in your browser using DataLab