groupCOORD: Group coordinates data

Description Usage Arguments

View source: R/groupCOORD.R

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

1

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 Aug. 22, 2020, 4:41 p.m.