Learn R Programming

GGIR (version 2.6-0)

g.readtemp_movisens: Reads the temperature from movisens files.

Description

Reads the temperature from movisens files, resamples it and adds it to the matrix where accelerations are stored

Usage

g.readtemp_movisens(datafile, desiredtz = "", from = c(), to = c(),
  interpolationType=1)

Arguments

datafile

Full path to the folder where the movisens bin files are stored. Note that movisens store a set of bin file in one folder per recording. GGIR will read the pertinent bin file to access to the temperature data.

desiredtz
from

Origin point to derive the temperature from movisens files (automatically calculated by GGIR)

to

End point to derive the temperature from movisens files (automatically calculated by GGIR)

interpolationType

Integer, see g.getmeta

Value

Data matrix with the temperature values resampled at 64 Hz.

Examples

Run this code
# NOT RUN {
  P = g.readtemp_movisens(datafile, desiredtz = "", from = c(), to = c())
# }

Run the code above in your browser using DataLab