Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

trim-method

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 signature 'TermDocumentMatrix'
trim(
  object,
  termsToKeep = NULL,
  termsToDrop = NULL,
  docsToKeep = NULL,
  docsToDrop = NULL,
  verbose = TRUE
)

## S4 method for signature 'DocumentTermMatrix'
trim(object, ...)

punctuation

Arguments

object

the object to be trimmed

...

further arguments

termsToKeep

...

termsToDrop

...

docsToKeep

...

docsToDrop

...

verbose

logical

Format

An object of class character of length 13.

Author(s)

Andreas Blaette


polmineR

Verbs and Nouns for Corpus Analysis

v0.8.5
GPL-3
Authors
Andreas Blaette [aut, cre] (<https://orcid.org/0000-0001-8970-8010>), Christoph Leonhardt [ctb]
Initial release
2020-09-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.