Learn R Programming

ActivityIndex (version 0.3.7)

ReadTable: 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.

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.

Details

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

Examples

Run this code
# NOT RUN {
filename = system.file("extdata","sample_table.csv.gz",package="ActivityIndex")
res = ReadTable(filename)

# }

Run the code above in your browser using DataLab