ch.moralsPlotLearningEffect: A function to plot learning effects

ch.moralsPlotLearningEffectR Documentation

A function to plot learning effects

Description

This function plots the learning function.

Usage

ch.moralsPlotLearningEffect(
  data,
  trialCol,
  RTCol,
  fitCol,
  resCol,
  yLabel,
  filenameID = "gp",
  ...
)

Arguments

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.

Value

.

Examples

ch.moralsPlotLearningEffects (data=moralsData,"trial", "RT", "fitRT", "resRT", RTlabel)

ccpluncw/ccpl_R_chMorals documentation built on Feb. 4, 2024, 3:30 p.m.