Method to trim and adjust objects by applying thresholds, minimum frequencies
etc. It can be applied to context
, features
, context
, partition
and
partition_bundle
objects.
trim(.Object, ...)# S4 method for TermDocumentMatrix
trim(
.Object,
termsToKeep = NULL,
termsToDrop = NULL,
docsToKeep = NULL,
docsToDrop = NULL,
verbose = TRUE
)
# S4 method for DocumentTermMatrix
trim(.Object, ...)
punctuation
An object of class character
of length 13.
The object to be trimmed
further arguments
...
...
...
...
logical
Andreas Blaette