directionFilter-methods: Set position data to NA if animal's direction was not the one...

Description Usage Arguments Value

Description

The slots x, y, hd, speed and lin are affected. Please note that this is not head direction but rather the direction of movement in 1D environment

Usage

1
2
3
4
directionFilter(pt, direction)

## S4 method for signature 'Positrack'
directionFilter(pt, direction = 0)

Arguments

pt

Positrack object

direction

Value of 1 or 0 refereing to direction

Value

Positrack object with only valid value in the specific direction.


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