print.dfm: print a dfm object

Description

print methods for document-feature matrices

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## S4 method for signature 'dfm'
print(x, show.values = FALSE, show.settings = FALSE,
  show.summary = TRUE, ndoc = 20L, nfeature = 20L, ...)

## S4 method for signature 'dfmSparse'
print(x, show.values = FALSE, show.settings = FALSE,
  show.summary = TRUE, ndoc = 20L, nfeature = 20L, ...)

## S4 method for signature 'dfmDense'
print(x, show.values = FALSE, show.settings = FALSE,
  show.summary = TRUE, ndoc = 20L, nfeature = 20L, ...)

## S4 method for signature 'dfmSparse'
show(object)

## S4 method for signature 'dfmDense'
show(object)

## S3 method for class 'dfm'
print(x, show.values = FALSE, show.settings = FALSE,
  show.summary = TRUE, ndoc = 20L, nfeature = 20L, ...)

## S4 method for signature 'fcm'
print(x, show.values = FALSE, show.settings = FALSE,
  show.summary = TRUE, nfeature = 20L, ...)

## S4 method for signature 'fcm'
show(object)

Arguments

x

the dfm to be printed

show.values

print the dfm as a matrix or array (if resampled).

show.settings

print the settings used to create the dfm. See settings.

show.summary

print a brief summary indicating the number of documents and features

ndoc

max number of documents to print

nfeature

max number of features to print

...

further arguments passed to or from other methods

object

the item to be printed


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.