View source: R/flag_adherent.R
flag_adherent_hours_between | R Documentation |
flag_adherent_hours_between
flag_adherent_hours_between(time, hours_between = c(8, 20))
time |
a numeric vector containing sequences of minute values in a day. |
hours_between |
two-length numeric array taking lower/upper hour values between 0 and 24. |
Flag adherent hours in the day. With this rule, the adherent time is bounded between lower/upper hour values as per the inclusion criteria of the study.
boolean vector, adherent minutes encoded as T, and non-adherent encoded as F.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.