Description Usage Arguments Note Examples
Calculate distance matrix between pairs of points using the google API
1 | distmat_g(xy, dmat, g_units = "metric", g_mode = "bicycling")
|
xy |
A two-column matrix of lon-lat coordinates |
dmat |
If submitted, any missing values not returned in previous queries are filled. |
g_units |
The units of measurement requested from the google API |
g_mode |
The mode of transport requested from the google API |
the google server frequently returns no values, so this produces a matrix with lots of missing values.
1 2 3 4 | ## Not run:
test_fn ()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.