| compute_day_counts | R Documentation |
This helper function summarizes the number of available days contributing to weekly sleep or activity estimates, with separation into weekday and weekend counts.
compute_day_counts(df)
df |
tbl. Data frame containing at minimum:
|
tbl. A weekly summary dataset with:
n_day: Total number of valid days in the week.
n_wkdy: Number of weekday observations.
n_wknd: Number of weekend observations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.