charMat: Create a Binary Matrix from a List of Character Values
Description
Create a binary matrix from a list of character values
Usage
charMat(listOfValues, fill = NA, mode = "binary")
Arguments
listOfValues
A list of input values to be inserted in a matrix.
fill
The initializing fill value for the empty matrix.
mode
Either "binary" or "value". Defaults to "binary".
Value
A matrix.
Details
This is primarily a helper function for the concat.split() function when
creating the "expanded" structure. The input is anticipated to be a list of
values obtained using base::strsplit().