read.seqs {ProcData}R Documentation

Reading response processes from csv files

Description

Reads a csv file and creates response process data.

Usage

read.seqs(file, style, id_var = NULL, action_var = NULL,
  time_var = NULL, step_sep = ",", ...)

Arguments

file

the name of the csv file from which the response processes are to be read.

style

the style that the response processes are stored. See 'Details'.

id_var

a string giving the name of the variable storing the process identifier.

action_var

a string giving the name of the variable storing action sequences.

time_var

a string giving the name of the variable storing timestamp sequences.

step_sep

the step separator characters. It is only used if style="single".

...

further arguments to be passed to read.csv.

Details

read.seqs calls read.csv to read process data stored in a csv file into R. The csv file to be read should at least include an identifier of distinct response processes, and action sequences. It can also include timestamp sequences.

The response processes (action sequences and timestamp sequences) stored in csv files can be in one of the two styles, "single" and "multiple". In "single" style, each response process occupies a single line. Actions and timestamps at different steps are separated by step_sep. In "multiple" style, each response process occupies multiple lines with each step taking up one line.

Value

read.seqs returns an object of class "proc".


[Package ProcData version 0.3.2 Index]