hibbing-input-validation: Internal functions for the 2RM wrapper

hibbing-input-validationR Documentation

Internal functions for the 2RM wrapper

Description

Internal functions for the 2RM wrapper

Usage

TwoRegression_Hibbing18_variable_validate(
  varname,
  AG,
  algorithm,
  sensor = c("accelerometer", "gyroscope", "magnetometer")
)

TwoRegression_Hibbing18_algorithm_validate(algorithm)

Arguments

varname

character scalar. Name of variable to check

AG

data frame of ActiGraph data

algorithm

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

sensor

character scalar indicating if varname corresponds to an accelerometer variable or gyroscope variable


paulhibbing/TwoRegression documentation built on July 9, 2023, 2:57 a.m.