Learn R Programming

lifelogr (version 0.1.0)

plot_daily: Plot daily health totals.

Description

Prints one of six plots, each showing daily totals over time.

Usage

plot_daily(person, measure_var = "all", ...)

Arguments

person
An instance of the Person class
measure_var
Default is to print all six plots. Options include: "steps", "floors", "distance", "calories", "mins_very", "rest_hr", "all".
...
Extra arguments used to specify unit for the distance plot.

Value

NULL, but plots printed to screen

Examples

Run this code
data(EX)
plot_daily(EX, "steps")
plot_daily(EX, "distance", "km")

Run the code above in your browser using DataLab