Checks which margin (rows or columns) of a Word Frequency Matrix holds the words

wordmargin(x)

Arguments

x

a word frequency matrix

Value

1 if words are rows and 2 if words are columns.

Details

Changing the wordmargin by assignment just swaps the dimnames

See also

Author

Will Lowe