ch.moralsPlotLearningEffect | R Documentation |
This function plots the learning function.
ch.moralsPlotLearningEffect(
data,
trialCol,
RTCol,
fitCol,
resCol,
yLabel,
filenameID = "gp",
...
)
data |
the morals dataframe after running through ch.moralsDataPrep(). |
trialCol |
a string that specifies the name of the column in "data" that contains the trial number. |
fitCol |
a string that specifies the name of the new column that will contain the predicted datapoints. |
resCol |
a string that specifies the name of the new column that will contain the residual datapoints. |
yLabel |
a string that specifies the yLabel for the graphs |
filenameID |
a string that will be added to the file names and titles that makes them unique if you run this call several times. |
RTcol |
a string that specifies the name of the column in "data" that contains the RT for each trial. |
.
ch.moralsPlotLearningEffects (data=moralsData,"trial", "RT", "fitRT", "resRT", RTlabel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.