Usage
GC2trackeRdata(gc, cycling = TRUE, correctDistances = FALSE, country = NULL, mask = TRUE, fromDistances = FALSE, lgap = 30, lskip = 5, m = 11)
Arguments
cycling
Logical. Does the data stem from cycling instead of running?
correctDistances
Logical. Should the distances be corrected for elevation?
country
ISO3 country code for downloading altitude data. If NULL
, country is derived from
longitude and latitude.
mask
Logical. Passed on to getData
. Should only the altitudes for the specified
country
be extracted (TRUE
) or also those for the neighboring countries (FALSE
)? fromDistances
Logical. Should the speeds be calculated from the distance recordings
instead of taken from the speed recordings directly?
lgap
Time in seconds corresponding to the minimal sampling rate.
lskip
Time in seconds between the last observation before a small break
and the first imputed speed or the last imputed speed and the first
observation after a small break.
m
Number of imputed observations in each small break.