mims_default_processing: Default MIMS Pre-processing

View source: R/mims_helpers.R

mims_default_processingR Documentation

Default MIMS Pre-processing

Description

Default MIMS Pre-processing

Usage

mims_default_processing(
  df,
  use_extrapolation = TRUE,
  use_filtering = TRUE,
  verbose = TRUE,
  dynamic_range = NULL,
  round_after_processing = FALSE
)

Arguments

df

Data set of raw accelerometry values, usually time and X/Y/Z. Usually from read_actigraphy

use_extrapolation

If 'TRUE' the function will apply extrapolation algorithm to the input signal, otherwise it will skip extrapolation but only linearly interpolate the signal to 100Hz.

use_filtering

If 'TRUE' the function will apply bandpass filtering to the input signal, otherwise it will skip the filtering.

verbose

print diagnostic messages

dynamic_range

the dynamic ranges of the input signal. Passed to mims_default_extrapolation. Only needed if use_extrapolation = TRUE

round_after_processing

Should the result be rounded to 3 decimal values after processing, to make similar to standard accelerometry?

Value

A processed data set


muschellij2/SummarizedActigraphy documentation built on Aug. 12, 2024, 5:35 p.m.