generate_gps_data {walkboutr}R Documentation

Generate a dataset with date-time, speed, and latitude and longitude of someone moving through space on a walk in Seattle

Description

Generate a dataset with date-time, speed, and latitude and longitude of someone moving through space on a walk in Seattle

Usage

generate_gps_data(
  start_lat,
  start_long,
  start_time,
  n_epochs = 110,
  time_interval = 30,
  seed = 1234
)

Arguments

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

Value

A data frame with four columns: "timestamp", "lat", "lon", and "speed".


[Package walkboutr version 0.6.0 Index]