create_test_acc_csv: Creates csv data file for testing purposes

Description Usage Arguments Value Examples

View source: R/create_test_acc_csv.R

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

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

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

Value

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

Examples

1
2
3
4
  ## Not run: 
    create_test_acc_csv()
  
## End(Not run)

PeteJWatson/ggircal documentation built on Nov. 24, 2021, 11:14 a.m.