parseLuxBin: Parse activity samples from a GT3X file

View source: R/RcppExports.R

parseLuxBinR Documentation

Parse activity samples from a GT3X file

Description

Parse activity samples from a GT3X file

Usage

parseLuxBin(filename, max_samples, scale_factor, max_value, verbose = FALSE)

Arguments

filename

(char*) path to a log.bin file inside the unzipped gt3x folder, which contains the activity samples

max_samples

Maximum number of rows to parse. The returned matrix will always contain this number of rows, having zeroes if not data is found.

scale_factor

Scale factor for the activity samples.

max_value

Maximum value to truncate

verbose

Print the parameters from the log.bin file and other messages?

Value

Returns a vector with max_samples elements


THLfi/read.gt3x documentation built on July 6, 2022, 11:06 a.m.