mergeCOORD: Merge coordinates data sets

View source: R/mergeCOORD.R

mergeCOORDR Documentation

Merge coordinates data sets

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

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 June 29, 2023, 11:18 a.m.