mergeCOORD: Merge coordinates data sets

Description Usage Arguments

View source: R/mergeCOORD.R

Description

The mergeCOORD function reads all xlsx/csv files in a specific folder and creates a single output data file ("data_merged (current date).csv"). Input: xlsx files or csv files created with Ethovision: Analysis > Export > Raw data...(export settings for csv: File type: ANSI text, delimiter: ","). The output file contains a data set with time, x and y coordinates, animal id, trial info and group (when available)

WARNING: depending on the number of xlsx/CSV files, this might take several minutes.

Usage

1
2
3
4
5
6
7
8
mergeCOORD(
  startData,
  rowID,
  rowDay,
  rowTrial,
  rowGroup = "FOO",
  filetype = "xlsx"
)

Arguments

startData

row number in the xlsx/csv files where the data starts (the values, not the headers)

rowID

row number in the xlsx/csv files that contains the animal's ID

rowDay

row number in the xlsx/csv files that contains day information

rowTrial

row number in the xlsx/csv files that contains trial information

rowGroup

row number in the xlsx/csv files that contains the animal's group (optional)

filetype

Filetype of data files. "xlsx" or "csv". Default: "xlsx".


Thonnard/VisualMWM documentation built on Aug. 22, 2020, 4:41 p.m.