Create a binary matrix TRUE if distance satisfies a condition
Source:R/RcppExports.R
binary_matrix_cpp.Rd
Create a binary matrix TRUE if distance satisfies a condition
Arguments
- 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.