coord_routes: Generate Lists of Longitudes and Latitudes for Points Along...

Description Usage Arguments Examples

View source: R/coord_routes.R

Description

This function returns lists of latitudes and longitudes for the points along routes randomly sampled between start and end points.

Usage

1
2
3
4
5
6
7
8
9
coord_routes(
  start_long_lat,
  end_long_lat,
  max_travel_spd,
  step_time_interval,
  total_travel_time,
  min_spatial_res,
  number_of_routes
)

Arguments

start_long_lat

The starting point as a longitude and latitude pair

end_long_lat

The end point as a longitude and latitude pair

max_travel_spd

The maximum traveling speed (be sure to use consitent distance and time units)

step_time_interval

The time interval for each step between start and end point

total_travel_time

The total amount of time it takes to get from start to end point (use consistend time units)

min_spatial_res

The minimum spatial resolution of spatial variables. Passed to circle_overlap_point function

number_of_routes

How many random routes you wish to generate

Examples

1

SavannahAlicia/atob documentation built on Dec. 19, 2020, 6:28 a.m.