read.seqs: Reading response processes from csv files

Description Usage Arguments Details Value

View source: R/read_seqs.R

Description

Reads a csv file and creates response process data.

Usage

1
2
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".


ProcData documentation built on April 1, 2021, 5:07 p.m.