distance_near_row_cpp | R Documentation |
Calculate thresheld pairwise distance for a row
distance_near_row_cpp(i, locs, locs_grid, radius, byrow = FALSE)
i |
The row index |
locs |
An N x 2 matrix of spatial locations |
locs_grid |
An N_grid x 2 matrix of spatial grids |
radius |
The thresholded radius |
byrow |
Perform calculation row/column-wise |
The thresheld pairwise distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.