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
the object to be trimmed
further arguments
...
...
...
...
logical
An object of class character
of length 13.