sedsphere: Function to apply the Sedentary Sphere from Rowlands et al...

View source: R/sedsphere.R

sedsphereR Documentation

Function to apply the Sedentary Sphere from Rowlands et al 2014

Description

Function to apply the Sedentary Sphere from Rowlands et al 2014

Usage

sedsphere(
  acc_data_raw,
  VMcorrG_mod_15s = 489,
  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

VMcorrG_mod_15s

Moderate-to-vigorous intensity activity acceleration threshold. Default MVPA threshold is >489 g

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.