flag_valid_step_count: flag_valid_step_count

View source: R/flag_valid_day.R

flag_valid_step_countR Documentation

flag_valid_step_count

Description

flag_valid_step_count

Usage

flag_valid_step_count(is_wear, is_adherent, steps, minimum_step_count = 1000)

Arguments

is_wear

a logic vector with entries for every minute in day. TRUE values correspond to those minutes in the day that are considered to be wear time.

is_adherent

a logic vector indicating minutes in a day that adhere to a study's inclusion criteria.

steps

a numeric vector containing Fitbit minute step recordings in a day.

minimum_step_count

the minimum number of step counts required in a day to be considered valid.

Details

Flag valid days using minimum step count criteria.

Value

a single boolean indicating whether the minimum step counts criteria is satisfied.


audiracmichelle/fitibble documentation built on Feb. 2, 2023, 3:51 p.m.