Description Usage Arguments Details Examples
Shows if contrast threshold correlates with with history weights. For example, subjects with higher visual sensitivity might have smaller biases because they have to rely less on priors and more on sensory evidence
1 2 | PlotThVsBias(inputData, modelWeights, fitWithLapseRate = TRUE,
conditionsToPlot = 1)
|
inputData |
trial-by-trial data of glmData type |
modelWeights |
regularized model weights of subjects that were computed on 'inputData' |
fitWithLapseRate |
if TRUE, fits psychometric curves by considering the lapse rate |
conditionsToPlot |
conditions to plot. Default is '1' |
TODO: Function also plots relationship between biases and RT. Need to incorporate this as a switch in parameters (e.g., whatToPlot=c('th', 'rt'))
1 | PlotThVsBias(glmData, regWeights, conditionsToPlot=c(1,13))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.