View source: R/flag_valid_day.R
flag_valid_adherent_hours | R Documentation |
flag_valid_adherent_hours
flag_valid_adherent_hours(is_wear, is_adherent, minimum_adherent_hours = 10)
is_wear |
a logic vector with entries for every minute in day. |
is_adherent |
a logic vector indicating minutes in a day that adhere to a study's inclusion criteria. |
minimum_adherent_hours |
the minimum number of adherent hours required in a day to be considered valid. |
Flag valid days using minimum adherent hours criteria
a single boolean indicating whether the minimum adherent hours criteria is satisfied.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.