nearest_pts | R Documentation |
Finds the nearest non-missing neighbors of a target point in a 2D matrix
x |
x-position of the point whose neighbors should be found within |
y |
y-position of the point whose neighbors should be found within |
in_mat |
a 2D matrix to search for neighbors of |
neighbors |
the number of closest non-NA neighboring values to return within |
radius |
the radius around |
ignore_zeros |
if TRUE, then zero is not a valid imputation value (since these are not data in NIfTIs) |
A vector of neighbors
closest neighboring values around pt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.