activpal.file.reader: Read in activPAL Events File

Description Usage Arguments Value Author(s) Examples

View source: R/activpal.file.reader.R

Description

This function reads in the events file generated by the activPAL software. Some AP events files use julian time with the origin month=12,day=30,year=1899. This function converts julian time to "%Y-%m-%d %H:%M:%S" format

Usage

1
activpal.file.reader(file.name.and.path)

Arguments

file.name.and.path

character string identifying the path to the file of interest

Value

A data frame with 6 columns identical to events file. Columns are renamed: 1) time=Time, 2) datacount=DataCount (samples), 3) interval=Interval (s), 4) activity=ActivityCode (0-sedentary, 1=standing, 2=stepping), 5) cumulativesteps=CumulativeStepCount, and 6) methrs=Activity Score (MET.h)

Author(s)

John Staudenmayer

Examples

1
2
3
4
5
## Not run: 
activpal.file.reader("/Users/jsmith/Documents/...")
activpal.file.reader("C:/Documents and Settings/...")

## End(Not run)

activpalProcessing documentation built on May 2, 2019, 2:17 a.m.