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

View source: R/g.dotorcomma.R

g.dotorcommaR Documentation

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, ...)

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.

Value

Character object showing how decimals are separated

Author(s)

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

Examples

  ## Not run: 
    decn = g.dotorcomma(inputfile="C:/myfile.bin",dformat=1,mon=2)
  
## End(Not run)

GGIR documentation built on Sept. 11, 2024, 8:59 p.m.