smooth_2rm | R Documentation |
Smooth two-regression estimates over specified periods
smooth_2rm(AG, time_var = "Timestamp", unit = "60 sec", verbose = FALSE, ...)
AG |
data frame of ActiGraph data |
time_var |
character scalar. Name of the timestamp variable (required to verify that input epoch length is 10 seconds) |
unit |
the interval to use for smoothing (see
|
verbose |
logical. Print updates to console? |
... |
currently unused |
Smoothed data, collapsed in the specified intervals
data(all_data, package = "TwoRegression") result <- TwoRegression( all_data, "Hibbing 2018", gyro_var = "Gyroscope_VM_DegPerS", direction_var = "mean_magnetometer_direction", site = c("Left Ankle", "Right Ankle"), algorithm = 1:2 ) smooth_2rm(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.