neighbourhood_neumann: von Neumann Neighbourhood Algorithm

Description Usage Arguments Value Author(s) Examples

Description

This functions computes the complete neighbourhood system of the qth order for a lattice grid under the von Neumann algorithm

Usage

1

Arguments

x

the lattice grid for which a neighbourhood structure is required

order

the order of the neighbourhood system

Value

a matrix, where each row corresponds to an observations neighbours

Author(s)

Kevin Brosnan (kevin.c.brosnan@gmail.com)

Examples

1
2
 y <- matrix(sample(c(-1, 1), size = 16, prob = c(0.6, 0.4), replace = TRUE), nrow = 4)
 neigh <- neighbourhood_neumann(x = y, order = 1)

significantstats/gatingfc documentation built on May 8, 2019, 8:48 a.m.