View source: R/data_sleeptimesformat.R
generate_postwake_times | R Documentation |
The last wake moment is unlikely to also be the end of the series. This function fills constructs a tibble with the all times between the final wake episode and the end of the series, intervaled by 'expand_by' minutes
generate_postwake_times(simulationend, lastwake, expand_by = 5)
simulationend |
start of simulation |
lastwake |
first sleep in the sleep dataframe |
expand_by |
expand value |
returns expanded tibble containing sleep.id = NA (due to waking) and wake_status = T
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.