board: board

Description Usage Arguments Value

View source: R/board.R

Description

board

Usage

1
board(mat = NULL, n = 5, p = 0.25)

Arguments

mat

matrix into a board

n

if there is no matrix, n by n matrix

p

if there is no matrix, p is the percentage of the squared that are blocked

Value

a matrix object, inherited from the matrix class, attr n and p


rebeccapei16/percolate documentation built on Nov. 5, 2019, 3:05 a.m.