rrwCodeColumn: This function uses the rrwModelList to add the effect and...

View source: R/rrwCodeColumn.r

rrwCodeColumnR Documentation

This function uses the rrwModelList to add the effect and dummy variables to the RRW data (one column at a time)

Description

Function that uuses the rrwModelList to add the effect and dummy variables to the RRW data (one column at a time)

Usage

rrwCodeColumn(data, rrwModelList)

Arguments

data

This is a dataframe containing the raw trial-by-trial data that must contain the following columns: overlap; RT (often a median); the proportion correct/incorrect; whether or not the row specifies a correct or incorrect trial. The dataset can also contains columns that effect code the influence of different parameters.

rrwModelList

A list that specifies the rrw model. Build the rrwModelList useing rrwAddEffectToRRWModel '

Value

the data is returned with the added dummy/effect coded column

Examples

rrwCodeColumn (data, modelList)

ccpluncw/ccpl_R_RRW documentation built on July 4, 2025, 3:24 p.m.