check_possible: check_possible function, a helper function which checks...

Description Usage Arguments Value Examples

View source: R/percolate.R

Description

check_possible function, a helper function which checks whether an open & dry board square is surrounded by an open & flood board square

Usage

1

Arguments

x

a "board" object (superclass - matrix, subclass - board)

Value

TRUE if n open & dry board square is surrounded by an open & flood board square; returns FALSE otherwise

Examples

1

adityagandhi81298/percolate documentation built on Nov. 1, 2019, 8:54 p.m.