board: Creating board object

Description Usage Arguments Value Examples

View source: R/board.R

Description

Creating board object

Usage

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

Arguments

mat

matrix, default to be null, if not null, mat will be used for board

n

integer, dimension of the board

p

number between 0 and 1, probability of having 0's

Value

board object

Examples

1
board(n = 5, p = .25)

edenhu11/percolate documentation built on Nov. 4, 2019, 11:32 a.m.