plot_d {lifelogr}R Documentation

Line graph for continuous variable(s).

Description

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

Usage

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

data(EX)
plot_d(EX, "steps")
plot_d(EX, c("steps", "distance"))

[Package lifelogr version 0.1.0 Index]