ismovisens: Checks whether the files to process are collected with...

View source: R/ismovisens.R

ismovisensR Documentation

Checks whether the files to process are collected with movisens accelerometers.

Description

Checks whether the files in the datadir folder are files collected with movisens accelerometers. Note that movisens data are stored in one folder per recording that includes multiple bin-files (instead of one file per recording as usual in other accelerometer brands). Therefore, datadir indicates the directory where all the recording folders are stored, then, GGIR reads the pertinent bin files from every folder.

Usage

  ismovisens(data)	

Arguments

data

Full path to the recording folder (with the bin files inside) or the datadir (where all the recording folders are stored).

Value

Boolean whether it is a movisens file (TRUE) or not (FALSE)

Examples

  ## Not run: 
    is.mv = ismovisens(data)
  
## End(Not run)

GGIR documentation built on Oct. 17, 2023, 1:12 a.m.