Learn R Programming

accelerometry (version 2.2.5)

tridata: Triaxial Sample Data

Description

This dataset is used to illustrate the accel.process.tri function in the accelerometry package.

Usage

data(tridata)

Arguments

Format

The format is: int [1:10080, 1:4] 118 0 0 2 0 0 0 20 0 0 ... - attr(*, "dimnames")=List of 2 ..$ : chr [1:10080] "526" "527" "528" "529" ... ..$ : chr [1:4] "vert" "ap" "ml" "steps"

Details

This dataset contains a four-column matrix. The first three columns are counts in the vertical, anteroposterior, and mediolateral axes, and the fourth column is steps. There are seven days worth of data from a volunteer.

References

Acknowledgment: This material is based upon work supported by the National Science Foundation Graduate Research Fellowship under Grant No. DGE-0940903.

Examples

Run this code
# NOT RUN {
# Load in sample data
data(tridata)

# Plot one day of step data
plot(tridata[1:1440, 4])
# }

Run the code above in your browser using DataLab