View source: R/convert_to_pairs.R
convert_to_pairs | R Documentation |
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.
convert_to_pairs(df)
df |
data.frame containing the data. Needs to have x,y, and z columns |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.