ch.filterValuesData | R Documentation |
This function filters the values data for analysis by removing RT outliers and bad subjects based on RT. The thresholds for removal are set in the valuessDBfile that is read and stored in a parameter list.
ch.filterValuesData(data, snCol, promptCol, valueCol, RTcol, params)
data |
the values dataframe. |
snCol |
a string that specifies the name of the column in "data" that contains the subject number. |
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. |
params |
a list of parameters that are read in using "ch.readValuesDBfile.r." |
a dataframe of filtered data. It also writes the items; the item statistics; and the data; to the files specified in params.
ch.filterValuesData (data=valuesData, "sn", "prompt", "resp", params=parameters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.