flag_adherent: flag_adherent

View source: R/flag_adherent.R

flag_adherentR Documentation

flag_adherent

Description

flag_adherent

Usage

flag_adherent(time, adherent_method = c("adherent_hours_between"), ...)

Arguments

time

a numeric vector containing sequences of minute values in a day.

adherent_method

one of the following "adherent_hours_between" (other adherence rule could be integrated into the package).

...

additional parameters required by the selected adherence criteria.

Details

Flag adherent hours in the day. So far only the "adherent_hours_between" rule is implemented.

Value

boolean vector, adherent minutes encoded as T, and non-adherent encoded as F.


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