assign_epoch_start_time {walkboutr}R Documentation

Assign Epoch Start Time

Description

Assign Epoch Start Time

Usage

assign_epoch_start_time(gps_data, epoch_length)

Arguments

gps_data

A data frame with GPS data including a column of timestamps and columns for latitude and longitude

epoch_length

The duration of an epoch in seconds

Details

Selects the closest 30 second increment to assign epoch start time and takes the GPS coordinates associated with the latest time if there are multiple GPS data points in a given 30 second increment. This function returns a data frame of GPS data with a column of epoch times.

Value

A data frame of GPS data with an additional column indicating epoch start time


[Package walkboutr version 0.6.0 Index]