ema_acc: Returns a datatable to merge accelerometer data back into EMA...

Description Usage Arguments Value

Description

Returns a datatable to merge accelerometer data back into EMA data

Usage

1
2
3
ema_acc(ema_file, activity_data, time_stubs = c("15", "30", "60", "120"),
  activity_types = c("VALID", "NONVALID", "MOD", "VIG", "SED", "LIGHT",
  "MVPA", "MVPA_BOUT", "ACTIVITY"))

Arguments

ema_file

A csv file with three columns, id, fulltime, and index

activity_data

An acc_ageadjusted data.table

time_stubs

Time windows to use

activity_types

Types of activity from acc_ageadjusted data.table

Value

A data.table with windows appended to ema_stubs file


eldinidle/ActiPro documentation built on July 1, 2020, 2:41 p.m.