calculate means

means(.Object, ...)

# S4 method for DocumentTermMatrix
means(.Object, dim = 1)

Arguments

.Object

object to work on

...

further parameters @exportMethod means

dim

numeric, 1 or 2 whether to work on rows or columns