groupCOORD: Group coordinates data

View source: R/groupCOORD.R

groupCOORDR Documentation

Group coordinates data

Description

The groupCOORD function uses dplyr to group data over groups, trials and/or days. Note that data will always be grouped over time, which might only make sense for trials of equal length (e.g. probe trials).

Usage

groupCOORD(data, by)

Arguments

data

Data set containing at least following columns: "Time", "x", "y", "Animal", "Day", "Trial". "x" and "y" represent the coordinates (position) of the animal at a certain timepoint ("Time") during the trial.

by

Variable to group by. E.g. "Trial", c("Group", "Trial").


Thonnard/VisualMWM documentation built on June 29, 2023, 11:18 a.m.