generate_gps_data | R Documentation |
Generate a dataset with date-time, speed, and latitude and longitude of someone moving through space on a walk in Seattle
generate_gps_data(
start_lat,
start_long,
start_time,
n_epochs = 110,
time_interval = 30,
seed = 1234
)
start_lat |
The starting latitude of the walk. |
start_long |
The starting longitude of the walk. |
start_time |
The start time of a series of data |
n_epochs |
The number of epochs in the series |
time_interval |
The time interval between points in seconds. |
seed |
random seed |
A data frame with four columns: "timestamp", "lat", "lon", and "speed".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.