Description Usage Arguments Value Examples
Prints a line plot plotting distance in miles or kilometers per day over time.
1 | plot_distance(person, unit = "mi")
|
person |
An instance of the Person class |
unit |
a unit of distance, 'mi' or 'km'. The default value is 'mi' |
NULL, but plot printed to screen
1 2 3 4 | data(EX)
plot_distance(EX)
plot_distance(EX, "mi")
plot_distance(EX, "km")
|
Warning messages:
1: Use of `data[[measures]]` is discouraged. Use `.data[[measures]]` instead.
2: Use of `data[[measures]]` is discouraged. Use `.data[[measures]]` instead.
Warning messages:
1: Use of `data[[measures]]` is discouraged. Use `.data[[measures]]` instead.
2: Use of `data[[measures]]` is discouraged. Use `.data[[measures]]` instead.
Warning messages:
1: Use of `data[[measures]]` is discouraged. Use `.data[[measures]]` instead.
2: Use of `data[[measures]]` is discouraged. Use `.data[[measures]]` instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.