Learn R Programming

polmineR (version 0.8.7)

trim: Trim an object.

Description

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.

Usage

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

Format

An object of class character of length 13.

Arguments

.Object

The object to be trimmed

...

further arguments

termsToKeep

...

termsToDrop

...

docsToKeep

...

docsToDrop

...

verbose

logical

Author

Andreas Blaette