imputeSpeeds(sessionData, fromDistances = TRUE, lgap = 30, lskip = 5, m = 11, cycling = FALSE, units = NULL)
zoo
object with
observations of either distance or speed (named Distance or Speed,
respectively).TRUE
, power is
imputed with 0
, else with NA
.zoo
object with imputed observations:
0 for speed, last known position for latitude, longitude and altitude,
NA for all other variables. Distances are calculated based on speeds after imputation.