View source: R/flag_valid_day.R
flag_valid_day | R Documentation |
flag_valid_day
flag_valid_day( is_wear, is_adherent, steps, valid_day_method = c("valid_adherent_hours", "valid_step_count"), ... )
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. |
steps |
a numeric vector containing Fitbit minute step recordings in a day. |
valid_day_method |
either "valid_adherent_hours" or "valid_step_count". |
... |
additional parameters that go into the selected valid_day_method. |
Flag valid days using either minimum adherent hours or minimum step count criteria.
a single boolean indicating whether the valid day criteria is satisfied.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.