Constructs a wfm object from various other kinds of objects

as.wfm(mat, word.margin = 1)

Arguments

mat

a matrix of counts

word.margin

which margin of mat represents the words

Value

an object of class wfm

See also

Author

Will Lowe