convert_to_pairs: convert_to_pairs

View source: R/convert_to_pairs.R

convert_to_pairsR Documentation

convert_to_pairs

Description

This function reformats a data.frame containing inertial data so that values for pairs of axes are more easily accessible. Mostly for internal use in other functions.

Usage

convert_to_pairs(df)

Arguments

df

data.frame containing the data. Needs to have x,y, and z columns

Value

a data.frame with columns axis1, axis2 and pair (e.g. "x-y"). axis1 is the first of the two axes of the pair, axis2 the second


schamaille/weheaR documentation built on June 5, 2022, 11:25 p.m.