knitr::opts_chunk$set(collapse = TRUE, comment = "#>")
There are 3 functions which allow for a series of plots with just one function
plot_intraday_all. Each acts
plot.lm function, where users must click "enter" to see the next plot.
Each plot within the generic plot function can also be called individually.
Here are the sleep plots for EX:
Users can also call each function individually using
Some plots have other options.
plot_sleep_start_end has a
color_var = "day_of_week" argument
to color the lines by day of the week instead of weekend/weekday.
Here are the plots for the daily totals for EX:
Users can also call each function individually using:
Here are the plots for intraday data (multiple data points collected within each day). The default is to aggregate the data by time intervals within each day so that data for a "typical day" is displayed.
However, it is also possible to specify that the plots use the raw data and plot over all date-times.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.