importData: Import eye tracking data

Description Usage Arguments Value Author(s) Examples

View source: R/import.R

Description

Imports and Optimizes data for generating aoi sequence charts

Usage

1
2
3
4
5
6
7
importData(
  files = "",
  delimiter = "\t",
  name_column = "",
  time_column = "",
  aoi_columns = ""
)

Arguments

files

a Vector containing the file name/names

delimiter

sets delimiter (i.e. "\t" for tab-seperated values)

name_column

name of the column containing the subjects name

time_column

name of the column containing the times of measurement

aoi_columns

names (2 or more) of the columns containing aoi data

Value

Data.Frame

Author(s)

Steve Sydow

Examples

1
2
3
4
5
6
7
8
## Not run: importData(files = system.file("extdata",
                                        "Sample.tsv",
                                        package = "AOIanalyseR",
                                        mustWork = TRUE),
                    name_column = "subject",
                    time_column = "time",
                    aoi_columns = c("title", "pic", "text"))
## End(Not run)

LordSydow/AOIanalyseR documentation built on Feb. 18, 2020, 11:54 p.m.