plot_d: Line graph for continuous variable(s).

Description Usage Arguments Value Examples

View source: R/viz_daily.R

Description

A "quick-and-dirty" approach to plotting a generic line graph with default axis labels. Can plot one or more variables.

Usage

1
plot_d(person, measures)

Arguments

person

An instance of the Person class

measures

A character vector of length one or more indicating the variable(s) of interest. Options include: "steps", "floors", "distance", "calories", "mins_very", "rest_hr".

Value

NULL, but plot printed to screen

Examples

1
2
3
data(EX)
plot_d(EX, "steps")
plot_d(EX, c("steps", "distance"))

Example output



lifelogr documentation built on May 2, 2019, 6:11 a.m.