Extract a matrix of word counts with words as rows and documents as columns

as.worddoc(wfm)

Arguments

wfm

an object of class wfm

Value

a word by document count matrix

Details

This is a helper function for wfm objects. Use it instead of manipulating wfm object themselves.

See also

Author

Will Lowe