These files contain code to prepare data for and fit a dynamic generalized additive model to predict energy heart rate and energy expenditure from dynamic body acceleration in moose (Alces alces). In this study, we collected heart rate data using implanted loggers and accelerometer data using tri-axial accelerometer collars. To quantify heart rate measurement accuracy, we manually validated heart rates calculated by the loggers by manually calculating heart rate from raw ECG data. The dynamic generalized additive model can be used to predict heart rate from tri-axial accelerometer data. In this study, we calculated energy expenditure from heart rate using a previously published equation.
R, 4.3.1.