transform_vec: transform a vector of strings containing * and .

Description Usage Arguments Value Examples

View source: R/utils.R

Description

transform a vector of strings containing * and .

Usage

1

Arguments

v

vector, of strings of * and .

d

integer, dimension of the matrix

Value

board obj, of the matrix containing only 0 and 1

Examples

1
transform_vec <- function(c("."), 1)

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