Description Usage Arguments Value Examples
Works better with subjects' real data rather than simulated trials For simulated trials,use ThAndSlopeForSimData
1 2 | ThSlopeAndLapse(inputData, fitWithLapseRate = TRUE, returnMeans = TRUE,
whichConditions)
|
inputData |
data structured as glmData |
fitWithLapseRate |
if TRUE, the Probit psychometric function is computed as $\lambda+(1-2*\lambda)Probit$, where lambda is the lapse rate. The lapse rate is computed using the function LapseRateFromHighestContrast |
returnMeans |
if TRUE, computes average for each subject. Otherwise, returns run-by-run results |
whichConditions |
conditions to analyse. For natural bias, include conditions 1 and 13 |
data frame containing threshold, slope and lapse rate of each subject. If requested, can return by-run results, otherwise means of each subject
1 | ThSlopeAndLapse(glmData, returnMeans=TRUE, whichCondition=c(1,13))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.