plot_sleep_start_end: A function to plot sleep each night by start time and end...

Description Usage Arguments Value Examples

View source: R/viz_sleep.R

Description

Returns a plot with start time of sleep and end time of sleep each night, colored by weekday vs. weekend.

Usage

1
plot_sleep_start_end(person, color_var = "day_type")

Arguments

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.

Value

NULL, but plots print to screen

Examples

1
2
3

lifelogr documentation built on May 2, 2019, 6:11 a.m.