rrwGetAllCodeColumns: This function uses the rrwModelList to add all the effect and...

View source: R/rrwGetAllCodeColumns.r

rrwGetAllCodeColumnsR Documentation

This function uses the rrwModelList to add all the effect and dummy variables to the RRW data

Description

Function that uses the rrwModelList to add all the effect and dummy variables to the RRW data

Usage

rrwGetAllCodeColumns(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 all the added dummy/effect coded columns

Examples

rrwGetAllCodeColumns (data, modelList)

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