There is another function called ThAndSlope which works with subjects' data rather than simulated data, because simulated data of glmData type includes additional column called IsSubject
1 | ThAndSlopeForSimData(simTrials, fitWithLapseRate = TRUE)
|
simTrials |
simulated trials, which can be done using the function SimulateSubjectResponses. Requires single run simulation. For simulating a run multiple times, do and call this function multiple times. |
fitWithLapseRate |
if TRUE, the probit psychometric function will be fitted using the lapse rate |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.