Description Usage Arguments Value Examples
Plot distance over time in units of either miles or kilometers.
1 | plot_i_distance(person, avg_to_get_typical_day = TRUE, unit = "mi")
|
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' |
NULL, but plot prints to screen.
1 2 3 | data(EX)
plot_i_distance(EX, FALSE)
plot_i_distance(EX, unit = "km")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.