plot_sleep_restless_prop {lifelogr} | R Documentation |
A function to plot the proportion of restless sleep over time.
Description
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.
Usage
plot_sleep_restless_prop(person)
Arguments
person |
An instance of the Person class |
Value
NULL, but plots print to screen
Examples
data(EX)
plot_sleep_restless_prop(person = EX)
[Package lifelogr version 0.1.0 Index]