Learn R Programming

lifelogr (version 0.1.0)

plot_sleep_weekday: A function to plot sleep by day of week.

Description

Returns a bar graph plotting sleep by day of week (Sunday, Monday, ...).

Usage

plot_sleep_weekday(person)

Arguments

person
An instance of the Person class

Value

NULL, but plots print to screen

Examples

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

Run the code above in your browser using DataLab