ch.getValuesSummaryStats | R Documentation |
This function gets the value stats for each item and outputs those into a file.
ch.getValuesSummaryStats(data, promptCol, valueCol, RTcol, outFile = NULL)
data |
the values dataframe. |
promptCol |
a string that specifies the name of the column in "data" that contains the prompt for each trial. |
valueCol |
a string that specifies the name of the column in "data" that contains the participant's estimate of value for the item in each trial. |
RTcol |
a string that specifies the name of the column in "data" that contains the participant's reaction times for the item in each trial. |
outFile |
a string that specifies the name of the file to output the stats in. DEFAULT = NULL (no output) |
a dataframe of the value stats. It also writes the item statistics to the outFile.
ch.getValuesSummaryStats (data=valuesData, "prompt", "respS", "respTime")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.