fitibble | R Documentation |
fitibble
fitibble( .data, intensity_colname = "intensity", intensity_levels = c(sedentary = "0", light = "1", moderate = "2", active = "3"), nonwear_method = c("missing_HR", "missing_HR_zero_steps", "choi_HR", "choi_steps"), nonwear_args = list(), adherent_method = c("adherent_hours_between"), adherent_args = list(), valid_day_method = c("valid_adherent_hours", "valid_step_count"), valid_day_args = list() )
.data |
A tibble containing |
intensity_colname |
a character entry indicating the name of the column that contains the intensity of each minute reading in |
intensity_levels |
a named character vector indicating the labels and levels of the intensity categories in |
nonwear_method |
one of the following "missing_HR", "missing_HR_zero_steps", "choi_HR", "choi_steps" or "none". |
nonwear_args |
additional parameters that go into the nonwear method. |
adherent_method |
one of the following "adherent_hours_between" (other adherence rule could be integrated into the package). |
adherent_args |
additional parameters that go into the adherent method. |
valid_day_method |
one of the following "valid_adherent_hours" or "valid_step_count". |
valid_day_args |
additional parameters that go into the valid day method. |
Prepares a fitibble
object.
a fitibble, an object containing arguments that are useful for generating physical activity summaries from Fitbit data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.