Description Usage Arguments Value
Create a binary matrix TRUE if distance satisfies a condition
1 | binary_matrix_cpp(facility, user, distance_cutoff)
|
facility |
a matrix with longitude and latitude in the first two columns |
user |
a matrix with longitude and latitude in the first two columns |
distance_cutoff |
numeric indicating the distance cutoff (in metres) you are interested in. If a number is less than distance_cutoff, it will be 1, if it is greater than it, it will be 0. |
a logical matrix 1 if distance between element i, j is less than or equal to the distance_cutoff, and 0 otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.