GC2trackeRdata {trackeR}R Documentation

Coercion function for use in Golden Cheetah

Description

Coercion function for use in Golden Cheetah

Usage

GC2trackeRdata(
  gc,
  cycling = TRUE,
  correct_distances = FALSE,
  country = NULL,
  mask = TRUE,
  from_distances = FALSE,
  lgap = 30,
  lskip = 5,
  m = 11,
  silent = FALSE
)

Arguments

gc

Output of GC.activity.

cycling

Logical. Does the data stem from cycling?

correct_distances

Logical. Should the distances be corrected for elevation? Default is FALSE.

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 neighbouring countries (FALSE)?

from_distances

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.

silent

Logical. Should warnings be generated if any of the sanity checks on the data are triggered?

See Also

trackeRdata


[Package trackeR version 1.6.0 Index]