distance_near_loop_cpp | R Documentation |
Calculate thresheld pairwise distance for a row using loops for parallelization
distance_near_loop_cpp( locs, locs_grid, radius, n_neighbors = 86L, byrow = FALSE )
locs |
An N x 2 matrix of spatial locations |
locs_grid |
An N_grid x 2 matrix of spatial grids |
radius |
The thresholded radius |
n_neighbors |
The expected number of neighbors based on the MRA grid |
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.