ReadTable {ActivityIndex} | R Documentation |
Read the raw tri-axial accelerometry data csv file.
Description
ReadTable
reads the raw tri-axial accelerometry data in csv files.
Usage
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
filename = system.file("extdata","sample_table.csv.gz",package="ActivityIndex")
res = ReadTable(filename)
[Package ActivityIndex version 0.3.7 Index]