Internal functions for the 2RM wrapper
TwoRegression_Hibbing18_variable_validate(
varname,
AG,
algorithm,
sensor = c("accelerometer", "gyroscope", "magnetometer")
)TwoRegression_Hibbing18_algorithm_validate(algorithm)
character scalar. Name of variable to check
data frame of ActiGraph data
An integer/numeric scalar or vector giving the algorithm(s)
to apply to the data from the primary accelerometer and (if applicable)
IMU. Must be 1 (accelerometer only), 2 (accelerometer and
gyroscope), 3 (accelerometer, gyroscope, and magnetometer), or any
combination thereof
character scalar indicating if varname corresponds to an
accelerometer variable or gyroscope variable