Description Usage Arguments Value
This is a wrapper function that returns a logical matrix, of 1 if distance between element i, j is less than or equal to the distance_cutoff, and 0 otherwise.
1 2 | binary_distance_matrix(facility, user, distance_cutoff,
d_proposed_user = NULL)
|
facility |
data.frame of facilities |
user |
data.frame of users |
distance_cutoff |
integer of distance to use for cutoff |
d_proposed_user |
Option distance matrix between proposed facilities and users (see Examples). |
a logical matrix, of 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.