plot_sleep_restless_prop {lifelogr} | R Documentation |
Returns a line plot plotting the proportion of restless sleep over time. The proportion is calculated as the difference between sleep duration and time spent asleep over sleep duration.
plot_sleep_restless_prop(person)
person |
An instance of the Person class |
NULL, but plots print to screen
data(EX)
plot_sleep_restless_prop(person = EX)