board: board

Description Usage Arguments Value Examples

View source: R/board.R

Description

board

Usage

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

Arguments

mat

a valid matrix

n

side length if no mat is provided

p

proportion of filled cells if no mat is provided

Value

a board class object of the matrix or n/p values that inherits from matrix

Examples

1

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