Description Usage Arguments Value Examples
Returns a plot with start time of sleep and end time of sleep each night, colored by weekday vs. weekend.
1 | plot_sleep_start_end(person, color_var = "day_type")
|
person |
An instance of the Person class |
color_var |
"day_type" by default for weekend/weekday, or "day_of_week" for day of week. Determines color of the lines. |
NULL, but plots print to screen
1 2 3 | data(EX)
plot_sleep_start_end(person = EX)
plot_sleep_start_end(person = EX, "day_of_week")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.