tidy_axes | R Documentation |
Tidy axes to a long format
tidy_axes(df, only_xyz = TRUE)
df |
An object with columns a time column 'X', 'Y', and 'Z' or an object of class 'AccData' |
only_xyz |
should the data be subset for only X/Y/Z values (and time)? |
A long data set with 'time', 'axis', and 'value'
file = system.file("extdata", "TAS1H30182785_2019-09-17.gt3x",
package = "SummarizedActigraphy")
res = read_actigraphy(file)
long = tidy_axes(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.