generate_board_mat: Generate Board Matrix

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Generate Board Matrix

Usage

1
generate_board_mat(n = 5, p = 0.25)

Arguments

n

a positive integer of side length

p

proportion of blocked cells

Value

matrix representing the board

Examples

1
2

Achowdh1/percolate documentation built on Oct. 30, 2019, 4:09 a.m.