add_word: Add a word to a word matrix

View source: R/add_word.R

add_wordR 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)


anthonypileggi/worrrd documentation built on Jan. 13, 2023, 11:15 a.m.