make_loop: make loop

Description Usage Arguments

View source: R/gpx_edit.R

Description

make loop

Usage

1
2
3
4
5
6
7
8
make_loop(
  track,
  start_id,
  end_id,
  lap_start = NULL,
  control = NULL,
  correct_elevation = FALSE
)

Arguments

track

sf data.frame gpx track

start_id

numeric track_seg_point_id of start

end_id

numeric track_seg_point_id of end

lap_start

track_seg_point_id of desired start – NULL for no adjustment.

control

numeric c(lon, lat)

correct_elevation

logical should elevation of start be forced to match elevation of end?


dblodgett-cycling/gpxR documentation built on Feb. 26, 2021, 8:32 p.m.