Learn R Programming

GGIR (version 2.7-1)

create_test_acc_csv: Creates csv data file for testing purposes

Description

Creates file in the Actigraph csv data format with dummy data that can be used for testing. The file includes accelerometer data with bouts of higher acceleration, variations non-movement periods in a range of accelerometer positions to allow for testing the auto-calibration functionality.

Usage

create_test_acc_csv(sf=3,Nmin=2000,storagelocation=c())

Value

The function does not produce any output values. Only the file is stored

Arguments

sf

Sample frequency in Hertz, the default here is low to minimize file size

Nmin

Number of minutes (minimum is 2000)

storagelocation

Location where the test file named testfile.csv will be stored If no value is provided then the function uses the current working directory

Examples

Run this code
  if (FALSE) {
    create_test_acc_csv()
  }

Run the code above in your browser using DataLab