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)
Run the code above in your browser using DataLab