coords_living: coords_living

Description Usage Arguments Value Author(s)

View source: R/coords_living.R

Description

Returns the board co-ordinates of all the living cells.

Usage

1

Arguments

board

An n^2 binary matrix with living cells indicated by 1s.

Value

An nx2 matrix with row co-ordinates in the first column and column co-ordinates in the second.

Author(s)

Alex Kalinka, alex.t.kalinka@gmail.com


alextkalinka/gameRlife documentation built on Jan. 4, 2022, 12:02 a.m.