Learn R Programming

GGIR (version 3.2-0)

ismovisens: 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)

Value

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

Arguments

data

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

Examples

Run this code
  if (FALSE) {
    is.mv = ismovisens(data)
  }

Run the code above in your browser using DataLab