add_word: 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)
Value
word matrix with word added (if possible)
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