distance_near_chunk_cpp | R Documentation |
Calculate thresheld pairwise distance for a row using loops for parallelization
distance_near_chunk_cpp( locs, locs_grid, radius, n_neighbors = 86L, byrow = FALSE, joint_index = TRUE, nchunks = NULL, ncores = 1L )
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 |
nchunks |
The number chunks to divide the data into |
ncores |
The number of openmp threads |
The thresheld pairwise distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.