plot_i_distance: Plot distance over time.

Description Usage Arguments Value Examples

View source: R/viz_intraday.R

Description

Plot distance over time in units of either miles or kilometers.

Usage

1
plot_i_distance(person, avg_to_get_typical_day = TRUE, unit = "mi")

Arguments

person

An instance of the Person class.

avg_to_get_typical_day

Logical vector of length 1. If TRUE, plot gives an aggregate of the variable over the course of a typical day. If FALSE, plot gives the variable at every interval over the range specified when the Person object was instantiated.

unit

The unit of distance, 'mi' by default, but can also specify 'km'

Value

NULL, but plot prints to screen.

Examples

1
2
3

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