filterNonwearNight: Filters short lasting nonwear during the night

View source: R/filterNonwearNight.R

filterNonwearNightR Documentation

Filters short lasting nonwear during the night

Description

Filters short lasting nonwear during the night. Not intended for direct use by GGIR user.

Usage

  filterNonwearNight(r1, metalong, qwindowImp, desiredtz, params_cleaning, ws2)

Arguments

r1

Object r1 as created inside function g.weardec which is a vector of zeros and ones derived from metalong where 1 indicates nonwear and 0 wear.

metalong

Object metalong created in g.part1

qwindowImp

See g.impute

desiredtz

See GGIR

params_cleaning

Parameters object with cleaning paramete, see GGIR.

ws2

Object ws2 which equals the second value of vector parameter windowsizes

Value

r1 object with short lasting nonwear during the night removed

Author(s)

Vincent T van Hees <v.vanhees@accelting.com>


GGIR documentation built on April 3, 2025, 6 p.m.