loc_grid | R Documentation |
Returns a list row and column coordinates of observations
loc_grid(coordinates, autofill)
coordinates |
two-column matrix-like set of row and column coordinates of observational units |
autofill |
logical. If TRUE (default) it will try to fill missing rows or columns with missing observations. Otherwise, will treat individuals as neighbours even if they are across an empty line. |
list of row and column coordinates of spatial units
This functions converts observational coordinates into spatial coordinates. While in a observational dataset there can possibly be many or missing observations at one single location, this function returns the list of row and column coordinates of a grid which contains all the observations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.