ch.getItemSetsFromChoiceDataframe: A function to extract a the items present in an experiment...

ch.getItemSetsFromChoiceDataframeR Documentation

A function to extract a the items present in an experiment file

Description

A function to extract a the items present in an experiment file

Usage

ch.getItemSetsFromChoiceDataframe(
  choiceDataframe = NULL,
  outputFile = NULL,
  itemColumns = c("IA1", "IB1"),
  practiceColumn = NULL,
  practiceValue = "practice"
)

Arguments

choiceDataframe

A dataframe with data from the experiment.

outputFile

the filename that you want the output written to. DEFAULT = NULL (no file written)

practiceColumn

the name of the column that contains the values indicating whether or not the trials are practice. DEFAULT = NULL (if NULL, no practice filtering will occur)

practiceValue

the value in practiceColumn that specifies the trial is a practice trial. DEFAULT = "practice"

itemColumn

the name of the column that contains the item values. DEFAULT = c("IA1", "IB1")

Value

a vector with the unique items used in the experiment

Examples

ch.getItemSetsFromExperimentFile (experiment.txt,output.txt, probes, practice, 0)

ccpluncw/ccpl_R_chValues documentation built on Feb. 12, 2024, 4:21 a.m.