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

ch.getItemsFromExperimentFileR 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.getItemsFromExperimentFile(
  experimentFile = NULL,
  outputFile = NULL,
  itemColumn = "ItemX",
  practiceColumn = "typeOfScen",
  practiceValue = "practice"
)

Arguments

experimentFile

a tab delimited file with data from the experiment.

outputFile

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

itemColumn

the name of the column that contains the item values. DEFAULT = "ItemX"

practiceColumn

the name of the column that contains the values indicating whether or not the trials are practice. DEFAULT = "typeOfScen"

practiceValue

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

Value

a vector with the unique items used in the experiment

Examples

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

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