linearizeLinearTrack-methods: Linearize the position data

Description Usage Arguments Value

Description

This is usually done if the animal ran on a linear track. The regression line of the position data is calculated and the closest point on the line is found for each 2D coordinate.

Usage

1
2
3
4
linearzeLinearTrack(pt)

## S4 method for signature 'Positrack'
linearzeLinearTrack(pt)

Arguments

pt

Positrack object

Value

Positrack object with linear position (lin)


kevin-allen/relectro documentation built on May 20, 2019, 9:06 a.m.