powered by
Calculate the sequential distances between sequential coordinate pairs
route_sequential_dist(m, lonlat = TRUE)
Matrix containing coordinates and elevations
Are the coordinates in lon/lat order? TRUE by default
TRUE
Other route_funs: route_average_gradient(), route_rolling_average(), route_rolling_diff(), route_rolling_gradient(), route_slope_matrix(), route_slope_vector()
route_average_gradient()
route_rolling_average()
route_rolling_diff()
route_rolling_gradient()
route_slope_matrix()
route_slope_vector()
# NOT RUN { x = c(0, 2, 3, 4, 5, 9) y = c(0, 0, 0, 0, 0, 1) m = cbind(x, y) route_sequential_dist(m) # }
Run the code above in your browser using DataLab