ReadTable: Read the raw tri-axial accelerometry data csv file.

Description Usage Arguments Details Value Examples

View source: R/ReadTable.r

Description

ReadTable reads the raw tri-axial accelerometry data in csv files.

Usage

1
ReadTable(filename)

Arguments

filename

The name of the csv file.

Details

The function reads csv files containing only three columns: acceleration time series of x-, y- and z-axis.

Value

The ReadTable returns a data frame with 4 columns: Index, X, Y and Z. Index is the column for the indices of acceleration. X, Y and Z are for the acceleration time series in each direction.

Examples

1
2
filename = system.file("extdata","sample_table.csv.gz",package="ActivityIndex")
res = ReadTable(filename)

oslerinhealth/ActivityIndex documentation built on May 27, 2021, 2:40 a.m.