acc_ageadjusted: Produce an activity dataset from raw data

Description Usage Arguments Value

Description

Produce an activity dataset from raw data

Usage

1
2
3
acc_ageadjusted(folder_location, age_data_file, nhanes_nonwear = TRUE,
  id_length = 7, agdFile = FALSE, dataTable = FALSE,
  metaData = TRUE, adult_age_cutpoints = NULL)

Arguments

folder_location

location of .csv or agd files

age_data_file

two column .csv file containing id and age

nhanes_nonwear

= TRUE, use NHANES non-wear thresholds

id_length

= 7, length of id variable in age_data_file

agdFile

= FALSE, agd file, not csv, if TRUE, overrides dataTable and metaData settings

dataTable

= FALSE, datatable format, post-processed with ActiLife

metaData

= TRUE, presence of metadata in headers of csv file

Value

A data.table containing a variety of activity fields and wear time


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