staudenmayer2015_rf_loco: Tree models from Staudenmayer et al 2015

View source: R/staudenmayer2015_rf_loco.R

staudenmayer2015_rf_locoR Documentation

Tree models from Staudenmayer et al 2015

Description

Tree models from Staudenmayer et al 2015

Usage

staudenmayer2015_rf_loco(
  acc_data_raw,
  mods_filepath = NA,
  samp_freq = 80,
  epoch = 15,
  expand_1sec = F
)

Arguments

acc_data_raw

Raw tri-axial wrist accelerometer data with column names Timestamp, AxisX, AxisY, AxisZ

mods_filepath

Filepath that contains rf.loc.model in an RData object. Assuming by default that model is already loaded in the environment.

samp_freq

Sampling frequency of the raw accelerometer data. Default is 80 hz

epoch

Non-overlapping window size in seconds. Default is 15-seconds

expand_1sec

Binary indicator of whether only SedSphere estimates should be returned as a second-by-second vector

Value

Aggregated data in 15-second epochs with accelerometer values and SedSphere estimate


robmarcotte/MOCAfunctions documentation built on March 23, 2024, 12:33 p.m.