Learn R Programming

lifelogr (version 0.1.0)

plot_sleep_over_time: A function to plot sleep over time.

Description

Returns a line plot plotting sleep over time. Includes sleep duration and time asleep (in hours).

Usage

plot_sleep_over_time(person)

Arguments

person
An instance of the Person class

Value

NULL, but plots print to screen

Examples

Run this code
data(EX)
plot_sleep_over_time(person = EX)

Run the code above in your browser using DataLab