neighbours.at: 'move' an arrangement in a given direction

View source: R/AllGeneric.R

neighbours.atR Documentation

'move' an arrangement in a given direction

Description

'move' an arrangement in a given direction

Usage

neighbours.at(x, dir)

## S3 method for class 'matrix'
neighbours.at(x, dir)

## S3 method for class 'list'
neighbours.at(x, dir)

Arguments

x

matrix or list of matrices

dir

a direction in ('N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW')

Methods (by class)

  • neighbours.at(matrix): Returns the matrix of neighbours in the specified direction

  • neighbours.at(list): Returns the list of matrices of neighbours in the specified direction


famuvie/breedR documentation built on Aug. 6, 2024, 9:10 p.m.