fixAxes: Correct switched X and Y axes

View source: R/Process_ACC.R

fixAxesR Documentation

Correct switched X and Y axes

Description

Correct switched X and Y axes

Usage

fixAxes(data)

Arguments

data

A formatted dateframe of accelerometer data, including fields: x, y, z, dep_id

Details

Different models of accelerometers can have the x and y channels flipped. This is particularly an issue between different configurations of Technosmart AxyTrek units. This functions takes formatted accelerometer data, swaps the x and y axes and multiplies the original x-axis by -1. This makes the x, y, and z fields consistent with other acceleromters.


allisonglider/seabiRds documentation built on Feb. 14, 2025, 7:37 a.m.