Learn R Programming

TwoRegression (version 1.1.1)

hibbing-helpers: Apply a Hibbing 2018 two-regression algorithm

Description

Applies the specified two-regression algorithm from Hibbing et al. (2018, Med Sci Sports Exerc) to data from the primary accelerometer and IMU (if applicable)

Usage

apply_two_regression_hibbing18(
  which_algorithm = data.frame(Wear_Location = "Hip", Algorithm = 1),
  AG,
  verbose = FALSE,
  ...
)

Value

a numeric vector of predicted energy expenditure values, expressed in metabolic equivalents

Arguments

which_algorithm

a dataframe specifying which algorithm to use, based on Wear_Location and Algorithm columns

AG

data frame of ActiGraph data

verbose

logical. Print updates to console?

...

arguments passed to predict.TwoRegression