ch.moralsPlotSnRTpHitFits | R Documentation |
This function plots the subject fits.
ch.moralsPlotSnRTpHitFits(
snSummaryArray,
snCol,
rtSloCol,
rtIntCol,
rtR2Col,
phBCol,
phACol,
phR2Col,
xAll,
filename = NULL
)
snSummaryArray |
a dataframe containing the morals fit coeficients and r square for RT and p(Hit) for each subject. |
snCol |
a string that specifies the name of the column in "snSummaryArray" that contains the subject number. |
rtSloCol |
a string that specifies the name of the column in "snSummaryArray" that contains the best fit slope for the RT data of each subject. |
rtIntCol |
a string that specifies the name of the column in "snSummaryArray" that contains the best fit intercept for the RT data of each subject. |
rtR2Col |
a string that specifies the name of the column in "snSummaryArray" that contains the r square the fit of the RT data of each subject. |
phBCol |
a string that specifies the name of the column in "snSummaryArray" that contains the best fit beta for the p(hit) data of each subject. |
phACol |
a string that specifies the name of the column in "snSummaryArray" that contains the best fit alpha for the p(hit) data of each subject. |
phR2Col |
a string that specifies the name of the column in "snSummaryArray" that contains the r square the fit of the p(hit) data of each subject. |
xAll |
a vector containing the overlap rounds used when fitting the RT and p(hit) data. |
filename |
a string with the filename (pdf) for the plot to be saved. DEFAULT = NULL (no file saved) |
.
ch.moralsPlotSnRTpHitFits(subOutData, "sn", "rtSlo", "rtInt", "rtR2", "phB", "phA", "phR2", xAll, filename)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.