updateCOORD: Preprocess coordinates data

Description Usage Arguments

Description

The updateCOORD function rescales x and y coordinates to center (0,0) and adds quadrant information to the data set. Adjacent Left is the quadrant to the left of the target quadrant when standing at the target quadrant and looking towards the platform. Adjacent Right is the quadrant to the right of the target quadrant when standing at the target quadrant and looking towards the platform.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
updateCOORD(
  data,
  centerx,
  centery,
  radius = 75,
  platformx,
  platformy,
  platformradius = 7.5,
  removeNA = TRUE
)

Arguments

data

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

centerx

x coordinate of the center of the morris water maze (cm).

centery

y coordinate of the center of the morris water maze (cl).

radius

radius of the morris water maze (cm), default = 75.

platformx

x coordinate of the center of the platform (cm).

platformy

y coordinate of the center of the platform (cm).

platformradius

radius of the platform (cm), default = 7.5.

removeNA

Remove NAs. Default=TRUE.


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