plot_distance {lifelogr}R Documentation

Plot distance per day over time.

Description

Prints a line plot plotting distance in miles or kilometers per day over time.

Usage

plot_distance(person, unit = "mi")

Arguments

person

An instance of the Person class

unit

a unit of distance, 'mi' or 'km'. The default value is 'mi'

Value

NULL, but plot printed to screen

Examples

data(EX)
plot_distance(EX)
plot_distance(EX, "mi")
plot_distance(EX, "km")

[Package lifelogr version 0.1.0 Index]