plot_i(person, measure_var, avg_to_get_typical_day = TRUE)plot_i_steps(person, avg_to_get_typical_day = TRUE)
plot_i_floors(person, avg_to_get_typical_day = TRUE)
plot_i_cal(person, avg_to_get_typical_day = TRUE)
plot_i_active_min(person, avg_to_get_typical_day = TRUE)
plot_i_hr(person, avg_to_get_typical_day = TRUE)
plot_i_hr_datetime(person)
plot_i_weight(person, avg_to_get_typical_day = TRUE, unit = "lb")
plot_i_steps
: Line graph for steps taken per 15 minute interval over
date-time.plot_i_floors
: Line graph for floors gone up per 15 minute interval over
date-time.plot_i_cal
: Line graph for calories burned per 15 minute interval over
date-time.plot_i_active_min
: Line graph for active minutes per 15 minute interval over
date-time.plot_i_hr
: Line graph for heart rate per 5 minute interval across a
typical day or over date-time.plot_i_hr_datetime
: Line graph for heart rate per 5 minute interval across a
typical day.plot_i_weight
: Line graph for weight over time.
get_hr_zones
data(EX)
plot_i(EX, "steps")
plot_i(EX, "distance", FALSE)
Run the code above in your browser using DataLab