agcalibrate {agcounts}R Documentation

Calibrate acceleration data

Description

This function uses a C++ implementation of the GGIR 'g.calibrate' function.

Usage

agcalibrate(raw, verbose = FALSE, tz = "UTC", ...)

Arguments

raw

data frame of raw acceleration data obtained from

verbose

Print the progress of the calibration for the raw data, Default: FALSE

tz

the desired timezone, Default: UTC

...

Additional arguments to pass into the agread function

Details

This function uses a C++ implementation of the GGIR 'g.calibrate' function to return calibrated raw acceleration data.

Value

Returns the calibrated raw acceleration data

See Also

force_tz

Examples

   path <- system.file("extdata/example.gt3x", package = "agcounts")
   data <- read.gt3x::read.gt3x(path, asDataFrame = TRUE)
   data <- agcalibrate(raw = data)

[Package agcounts version 0.6.6 Index]