add_word {worrrd}R Documentation

Add a word to a word matrix

Description

Add a word to a word matrix

Usage

add_word(x, word = "finding", must_intersect = FALSE, shape_matrix = NULL)

Arguments

x

word matrix

word

the word to add (character/scalar)

must_intersect

force the added word to intersect with >1 word (logical/scalar)

shape_matrix

a binary matrix generated from a call to image_matrix

Value

word matrix with word added (if possible)


[Package worrrd version 0.1.0 Index]