Learn R Programming

GGIR (version 3.2-0)

g.dotorcomma: Assesses whether decimals in fileheader are stored with comma or dot separated decimals

Description

The function is used by g.readaccfile to assess how numeric data should be interpretted

Usage

g.dotorcomma(inputfile, dformat, mon, ...)

Value

Character object showing how decimals are separated

Arguments

inputfile

full path to inputfile

dformat

Data format code: 1=.bin, 2=.csv, 3=.wav, 4=.cwa, 5=.csv for ad-hoc monitor brand

mon

Monitor code (accelorometer brand): 0=undefined, 1=GENEA, 2=GENEActiv, 3=Actigraph, 4=Axivity, 5=Movisense, 6=Verisense

...

Any input arguments needed for function read.myacc.csv if you are working with a non-standard csv formatted files.

Author

Vincent T van Hees <v.vanhees@accelting.com>

Examples

Run this code
  if (FALSE) {
    decn = g.dotorcomma(inputfile="C:/myfile.bin",dformat=1,mon=2)
  }

Run the code above in your browser using DataLab