Description Usage Arguments Value Author(s) Examples
This function provides a single wrapper to neighbourhood_moore
and
neighbourhood_neumann
. It is advised that this function be called to
find the neighbourhoods in this package, as it provides the most error checks
1 | neighbourhoods(x, order = 1, method = "Moore")
|
x |
the lattice grid for which a neighbourhood structure is required |
order |
the order of the neighbourhood system |
method |
the neighbourhood method, 'Moore' or 'von Neumann' |
a matrix, where each row corresponds to an observations neighbours
Kevin Brosnan (kevin.c.brosnan@gmail.com)
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.