plot_intraday: Switch table to plot intraday variables.
Description
Plot one continuous intraday variable across time. Users can
specify if they want to look at an aggregate of a variable over the
course of a day (avg_to_get_typical_day = TRUE) or look at that variable
at every interval (i.e. every 15 minutes for the entire date range).
Character vector of length 1 denoting the variable of
interest. Options include: "steps", "floors", "distance",
"caloriesBurned", "activeMin", "bpm" (heart rate), "weight". By default,
all are plotted.
avg_to_get_typical_day
Logical vector of length 1. If TRUE, plot
gives an aggregate of the variable over the course of a typical day. If
FALSE, plot gives the variable at every interval over the range specified
when the Person object was instantiated.
...
Extra arguments used to specify unit for the distance and weight
plots.