Skip to contents

Process Count Data

Usage

acti_process(
  data,
  lfe_select = FALSE,
  method = c("choi", "troiano"),
  use_magnitude = TRUE,
  verbose = TRUE,
  ...
)

Arguments

data

A data.frame from acti_calculate_counts that has columns axis1-3 and counts

lfe_select

Apply the Actigraph Low Frequency Extension filter. See agcounts::calculate_counts() higher values are higher levels of verbosity.

method

Method for detecting non-wear, either "choi" or "troiano", corresponding to actigraph.sleepr::apply_choi() or actigraph.sleepr::apply_troiano()

use_magnitude

If TRUE, the magnitude of the vector (axis1, axis2, axis3) is used to measure activity; otherwise the axis1 value is used.

verbose

print diagnostic messages. Either logical or integer, where

...

additional arguments to pass to actigraph.sleepr function

Note

For acti_process_gt3x, the ... argument are passed to actiread::acti_read_gt3x()